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 2a4eaac..0b3ec09 100644 --- a/crates/rocie-cli/src/main.rs +++ b/crates/rocie-cli/src/main.rs @@ -15,11 +15,12 @@ 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!(), + Command::User { command } => handle::user(&config, command).await?, } Ok(()) |
