diff options
Diffstat (limited to 'crates/rocie-cli/src/cli.rs')
| -rw-r--r-- | crates/rocie-cli/src/cli.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/rocie-cli/src/cli.rs b/crates/rocie-cli/src/cli.rs index 626a7b1..376eda5 100644 --- a/crates/rocie-cli/src/cli.rs +++ b/crates/rocie-cli/src/cli.rs @@ -15,6 +15,12 @@ pub(crate) enum Command { command: ProductCommand, }, + /// Deal with users + User { + #[command(subcommand)] + command: UserCommand, + }, + /// Deal with parents Parents { #[command(subcommand)] @@ -41,6 +47,12 @@ pub(crate) enum Command { } #[derive(Subcommand)] +pub(crate) enum UserCommand { + /// List all registered users + List {}, +} + +#[derive(Subcommand)] pub(crate) enum ProductParentCommand { /// Register a new product parent Register { |
