mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-27 20:25:41 +00:00
18 lines
310 B
Go
18 lines
310 B
Go
package cmd
|
|
|
|
import (
|
|
"tinyauth/cmd/totp/generate"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func TotpCmd() *cobra.Command {
|
|
totpCmd := &cobra.Command{
|
|
Use: "totp",
|
|
Short: "Totp utilities",
|
|
Long: `Utilities for creating and verifying totp codes.`,
|
|
}
|
|
totpCmd.AddCommand(generate.GenerateCmd)
|
|
return totpCmd
|
|
}
|