diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-10-23 23:39:53 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-10-23 23:39:53 +0200 |
| commit | e405f8477865d00c90d396d8b5a26553d7779940 (patch) | |
| tree | a833f40e6f7711166b80956cbd061509b08930a9 /crates/rocie-cli/src/cli.rs | |
| parent | fix(crates/rocie-server/api/buy-barcode): Allow specifying how often to buy (diff) | |
| download | server-e405f8477865d00c90d396d8b5a26553d7779940.zip | |
fix(crates/rocie-cli): Handle updates to `buy-barcode`
Diffstat (limited to 'crates/rocie-cli/src/cli.rs')
| -rw-r--r-- | crates/rocie-cli/src/cli.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/rocie-cli/src/cli.rs b/crates/rocie-cli/src/cli.rs index a84ab0e..a683306 100644 --- a/crates/rocie-cli/src/cli.rs +++ b/crates/rocie-cli/src/cli.rs @@ -109,6 +109,10 @@ pub(crate) enum BarcodeCommand { /// The numeric value of the barcode #[arg(short, long)] id: u32, + + /// How often to buy this barcode + #[arg(short, long, default_value = "1")] + times: u16, }, /// Consume an barcode |
