diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-11 00:15:14 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-11 00:15:14 +0900 |
| commit | 8441abd29aea53719c19f34ec6d542a4575a23c9 (patch) | |
| tree | 2d5704acdae268253b69c4bb9a37653635037138 /src/commands/bump.rs | |
| parent | 9dacb9293f9b995c6c810227f73b4aa5cf019bab (diff) | |
| download | php-mozart-8441abd29aea53719c19f34ec6d542a4575a23c9.tar.gz php-mozart-8441abd29aea53719c19f34ec6d542a4575a23c9.tar.zst php-mozart-8441abd29aea53719c19f34ec6d542a4575a23c9.zip | |
define subcommands and options
Diffstat (limited to 'src/commands/bump.rs')
| -rw-r--r-- | src/commands/bump.rs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/commands/bump.rs b/src/commands/bump.rs new file mode 100644 index 0000000..40e01f1 --- /dev/null +++ b/src/commands/bump.rs @@ -0,0 +1,23 @@ +use clap::Args; + +#[derive(Args)] +pub struct BumpArgs { + /// Package(s) to bump + pub packages: Vec<String>, + + /// Only bump packages in require-dev + #[arg(short = 'D', long)] + pub dev_only: bool, + + /// Only bump packages in require + #[arg(short = 'R', long)] + pub no_dev_only: bool, + + /// Only output what would be changed, do not modify files + #[arg(long)] + pub dry_run: bool, +} + +pub fn execute(_args: &BumpArgs) { + todo!() +} |
