aboutsummaryrefslogtreecommitdiffstats
path: root/crates/rocie-cli/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 13:30:25 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 13:30:25 +0100
commitf7869a09906747d0797dcd8c49c069fa8f02930c (patch)
treef219226e62d16995cd4906d57f7e279b591460ff /crates/rocie-cli/src/cli.rs
parentstyle(treewide): Format (diff)
downloadserver-f7869a09906747d0797dcd8c49c069fa8f02930c.zip
chore(treewide): Remove last references to old paths
Diffstat (limited to '')
-rw-r--r--crates/rocie-cli/src/cli.rs12
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 {