mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-27 20:25:41 +00:00
20 lines
385 B
Go
20 lines
385 B
Go
package cmd
|
|
|
|
import (
|
|
"tinyauth/cmd/user/create"
|
|
"tinyauth/cmd/user/verify"
|
|
|
|
"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(create.CreateCmd)
|
|
userCmd.AddCommand(verify.VerifyCmd)
|
|
return userCmd
|
|
}
|