From e9d27daaa4092dec9cf110a4f85d671b354d1956 Mon Sep 17 00:00:00 2001 From: Andrew Lilley Brinker Date: Tue, 22 Apr 2025 09:27:47 -0700 Subject: [PATCH] feat(cli)!: Make `manifest create` input files positional This amends the `manifest create` arguments, turning the list of input files from a flag (`-i` / `--input`) into a positional argument. Normally I'm wary of positional arguments because they're less backwards compatible [1], but in this case this argument should always be the primary one, and making it positional makes it easier to integrate with things like shell subcommands to produce a file list. [1]: https://clig.dev/#arguments-and-flags Issue: https://github.com/omnibor/omnibor-rs/issues/243 Signed-off-by: Andrew Lilley Brinker --- omnibor-cli/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnibor-cli/src/cli.rs b/omnibor-cli/src/cli.rs index b1be5cf..d550b93 100644 --- a/omnibor-cli/src/cli.rs +++ b/omnibor-cli/src/cli.rs @@ -194,7 +194,7 @@ pub struct ManifestRemoveArgs {} #[command(arg_required_else_help = true)] pub struct ManifestCreateArgs { /// Inputs to record in the manifest. - #[arg(short = 'i', long = "input", help_heading = IMPORTANT)] + #[arg(help_heading = IMPORTANT)] pub inputs: Vec, /// The target the manifest is describing.