From ec98d30b3146c50cb46abd1bcdb35b90d318f4fb Mon Sep 17 00:00:00 2001 From: Ku6epXBOCTuK Date: Fri, 28 Aug 2026 08:00:00 +0500 Subject: [PATCH] fix: add short names for commands --- src/cli.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 8fc06e6..3a588f5 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -9,6 +9,7 @@ use clap::{ArgGroup, Parser}; #[command(group = ArgGroup::new("target").required(true).args(["project", "list", "list_servers", "pick", "this"]))] pub struct Cli { /// Project name from deploy.toml + #[arg(short, long)] pub project: Option, /// Explicit path to the config file #[arg(long, value_name = "PATH")] @@ -17,15 +18,15 @@ pub struct Cli { #[arg(long)] pub dry_run: bool, /// List configured projects and exit - #[arg(long)] + #[arg(short, long)] pub list: bool, /// List configured servers and exit #[arg(long)] pub list_servers: bool, /// Interactively pick a project to deploy (fuzzy search) - #[arg(long)] + #[arg(short, long)] pub pick: bool, /// Deploy the project whose workdir matches the current folder (global config) - #[arg(long)] + #[arg(short, long)] pub this: bool, }