Files
tencentcloud__tencentmeetin…/cmd/auth/base.go
2026-04-08 01:12:53 +08:00

27 lines
392 B
Go

package auth
import (
"tmeet/internal"
"github.com/spf13/cobra"
)
// NewBaseCmd creates the auth command.
func NewBaseCmd(tmeet *internal.Tmeet) *cobra.Command {
cmd := &cobra.Command{
Use: "auth",
Short: "Authentication commands",
}
cmd.AddCommand(
// Login
newLoginCmd(tmeet),
// Logout
newLogoutCmd(tmeet),
// Status query
newStatusCmd(tmeet),
)
return cmd
}