Files
tinyauth/cmd/totp/totp.go
2025-07-12 13:17:06 +03:00

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
}