diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-28 16:35:11 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-28 16:35:11 +0100 |
| commit | 5dd3eb56474bc9106df764b5f46625c0787a4ba2 (patch) | |
| tree | 319367f617f264bd61f327e4ea3c41c83deb1f96 /crates/rocie-cli/src/main.rs | |
| parent | feat(crates/rocie-server): Get closer to feature parity between rocie and grocy (diff) | |
| download | server-5dd3eb56474bc9106df764b5f46625c0787a4ba2.zip | |
feat(crates/rocie-cli): Add support for product parents
Diffstat (limited to '')
| -rw-r--r-- | crates/rocie-cli/src/main.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crates/rocie-cli/src/main.rs b/crates/rocie-cli/src/main.rs index 26e0f62..2a4eaac 100644 --- a/crates/rocie-cli/src/main.rs +++ b/crates/rocie-cli/src/main.rs @@ -15,10 +15,11 @@ async fn main() -> Result<()> { "http://127.0.0.1:8080".clone_into(&mut config.base_path); match args.command { - Command::Product { command } => handle::product(&config, command).await?, - Command::Unit { command } => handle::unit(&config, command).await?, - Command::Barcode { command } => handle::barcode(&config, command).await?, - Command::UnitProperty { command } => handle::unit_property(&config, command).await?, + Command::Product{command}=>handle::product(&config,command).await?, + Command::Unit{command}=>handle::unit(&config,command).await?, + Command::Barcode{command}=>handle::barcode(&config,command).await?, + Command::UnitProperty{command}=>handle::unit_property(&config,command).await?, + Command::Parents { command } => todo!(), } Ok(()) |
