From 5dd3eb56474bc9106df764b5f46625c0787a4ba2 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 28 Nov 2025 16:35:11 +0100 Subject: feat(crates/rocie-cli): Add support for product parents --- crates/rocie-cli/src/main.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crates/rocie-cli/src/main.rs') 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(()) -- cgit 1.4.1