feat(cli): add commands to manage users (#1691)

This commit is contained in:
dkeven
2025-08-08 21:27:21 +08:00
committed by GitHub
parent a6c44cf29e
commit ab0ba8fde6
11 changed files with 969 additions and 148 deletions

16
cli/cmd/ctl/user/root.go Normal file
View File

@@ -0,0 +1,16 @@
package user
import "github.com/spf13/cobra"
func NewUserCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "user",
Short: "user management operations",
}
cmd.AddCommand(NewCmdCreateUser())
cmd.AddCommand(NewCmdDeleteUser())
cmd.AddCommand(NewCmdListUsers())
cmd.AddCommand(NewCmdGetUser())
// cmd.AddCommand(NewCmdUpdateUserLimits())
return cmd
}