Add a project path CLI option

This commit is contained in:
2025-07-21 11:56:20 -05:00
parent 8cfc6605c9
commit fc0d1b569c
2 changed files with 15 additions and 4 deletions

View File

@@ -7,6 +7,12 @@ pub struct Args {
pub gitea_url: Option<String>,
#[arg(short = 'r', long = "repo", env = "GTTOOL_FQRN")]
pub repo: Option<String>,
#[arg(
short = 'p',
long = "project",
help = "Path to project (relative or absolute). Used to select configuration."
)]
pub project: Option<String>,
#[command(subcommand)]
pub command: Commands,