mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
24 lines
365 B
Go
24 lines
365 B
Go
package cli
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func groups() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "groups",
|
|
Short: "Manage groups",
|
|
Aliases: []string{"group"},
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return cmd.Help()
|
|
},
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
groupCreate(),
|
|
groupList(),
|
|
groupEdit(),
|
|
groupDelete(),
|
|
)
|
|
|
|
return cmd
|
|
}
|