mirror of
https://github.com/TencentCloud/tencentmeeting-cli.git
synced 2026-09-14 20:46:40 +08:00
27 lines
392 B
Go
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
|
|
}
|