mirror of
https://github.com/coder/coder.git
synced 2026-06-04 13:38:21 +00:00
22e781eced
* chore: add /v2 to import module path go mod requires semantic versioning with versions greater than 1.x This was a mechanical update by running: ``` go install github.com/marwan-at-work/mod/cmd/mod@latest mod upgrade ``` Migrate generated files to import /v2 * Fix gen
25 lines
429 B
Go
25 lines
429 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/coder/coder/v2/cli/clibase"
|
|
)
|
|
|
|
func (r *RootCmd) groups() *clibase.Cmd {
|
|
cmd := &clibase.Cmd{
|
|
Use: "groups",
|
|
Short: "Manage groups",
|
|
Aliases: []string{"group"},
|
|
Handler: func(inv *clibase.Invocation) error {
|
|
return inv.Command.HelpHandler(inv)
|
|
},
|
|
Children: []*clibase.Cmd{
|
|
r.groupCreate(),
|
|
r.groupList(),
|
|
r.groupEdit(),
|
|
r.groupDelete(),
|
|
},
|
|
}
|
|
|
|
return cmd
|
|
}
|