Files
coder/enterprise/cli/groups.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
423 B
Go
Raw Normal View History

2022-10-27 16:49:35 -05:00
package cli
import "github.com/coder/serpent"
2022-10-27 16:49:35 -05:00
2024-03-17 09:45:26 -05:00
func (r *RootCmd) groups() *serpent.Command {
cmd := &serpent.Command{
2022-10-27 16:49:35 -05:00
Use: "groups",
Short: "Manage groups",
Aliases: []string{"group"},
Handler: func(inv *serpent.Invocation) error {
2023-03-23 17:42:20 -05:00
return inv.Command.HelpHandler(inv)
},
2024-03-17 09:45:26 -05:00
Children: []*serpent.Command{
2023-03-23 17:42:20 -05:00
r.groupCreate(),
r.groupList(),
r.groupEdit(),
r.groupDelete(),
2022-10-27 16:49:35 -05:00
},
}
return cmd
}