chore: add edit organization role to cli (#13365)

Editing custom org roles from hidden org cli command.
This commit is contained in:
Steven Masley
2024-06-03 09:34:10 -05:00
committed by GitHub
parent 24ba81930b
commit 973cc2b875
8 changed files with 484 additions and 23 deletions
+4 -1
View File
@@ -43,7 +43,10 @@ func RichParameter(inv *serpent.Invocation, templateVersionParameter codersdk.Te
return "", err
}
values, err := MultiSelect(inv, options)
values, err := MultiSelect(inv, MultiSelectOptions{
Options: options,
Defaults: options,
})
if err == nil {
v, err := json.Marshal(&values)
if err != nil {