diff --git a/src/cli.rs b/src/cli.rs index ce281da..4b02858 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -4,9 +4,9 @@ use clap::{Parser, Subcommand}; #[command(version, about, long_about = None)] pub struct Args { #[arg(short = 'u', long = "url", env = "GTTOOL_GITEA_URL")] - pub gitea_url: String, + pub gitea_url: Option, #[arg(short = 'r', long = "repo", env = "GTTOOL_FQRN")] - pub repo: String, + pub repo: Option, #[command(subcommand)] pub command: Commands,