diff --git a/src/cli.rs b/src/cli.rs index 8489d95..ebb3a52 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -14,8 +14,5 @@ pub struct Args { #[derive(Subcommand, Debug)] pub enum Commands { - ListReleases { - #[arg(short, long)] - list: bool, - }, + ListReleases, } diff --git a/src/main.rs b/src/main.rs index 5aa885c..fad04ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ async fn main() -> Result<(), Error> { let args = Args::parse(); match args.command { - gt_tools::cli::Commands::ListReleases { list } => { + gt_tools::cli::Commands::ListReleases => { let request_url = format!( "http:/localhost:3000/api/v1/repos/{owner}/{repo}/releases", owner = "robert",