Files
coder/enterprise/cli/groups.go
T

23 lines
411 B
Go

package cli
import "github.com/coder/serpent"
func (r *RootCmd) groups() *serpent.Cmd {
cmd := &serpent.Cmd{
Use: "groups",
Short: "Manage groups",
Aliases: []string{"group"},
Handler: func(inv *serpent.Invocation) error {
return inv.Command.HelpHandler(inv)
},
Children: []*serpent.Cmd{
r.groupCreate(),
r.groupList(),
r.groupEdit(),
r.groupDelete(),
},
}
return cmd
}