1 Star 0 Fork 0

ryancartoon/sensu-go

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
help.go 546 Bytes
Copy Edit Raw Blame History
package user
import (
"github.com/sensu/sensu-go/cli"
"github.com/spf13/cobra"
)
// HelpCommand defines new parent
func HelpCommand(cli *cli.SensuCli) *cobra.Command {
cmd := &cobra.Command{
Use: "user",
Short: "Manage users",
}
// Add sub-commands
cmd.AddCommand(
AddGroupCommand(cli),
CreateCommand(cli),
DeleteCommand(cli),
ListCommand(cli),
ReinstateCommand(cli),
RemoveGroupCommand(cli),
RemoveAllGroupsCommand(cli),
SetGroupsCommand(cli),
SetPasswordCommand(cli),
TestCredsCommand(cli),
)
return cmd
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ryancartoon/sensu-go.git
git@gitee.com:ryancartoon/sensu-go.git
ryancartoon
sensu-go
sensu-go
v5.10.1

Search