diff options
Diffstat (limited to 'crates/rocie-cli/src/main.rs')
| -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(()) |
