feat: create user command

This commit is contained in:
Stavros
2025-01-21 23:18:02 +02:00
parent a4c717ba34
commit d3e52c925d
6 changed files with 204 additions and 20 deletions

17
cmd/user/user.go Normal file
View File

@@ -0,0 +1,17 @@
package cmd
import (
"tinyauth/cmd/user/subcommands"
"github.com/spf13/cobra"
)
func UserCmd() *cobra.Command {
userCmd := &cobra.Command{
Use: "user",
Short: "User utilities",
Long: `Utilities for creating and verifying tinyauth compatible users.`,
}
userCmd.AddCommand(subcommands.CreateCmd)
return userCmd
}