Skip to content

chore: unhide multi-organization cli commands #14693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: unhide multi-organization cli commands
Multi-org is going into GA
  • Loading branch information
Emyrk committed Sep 16, 2024
commit 0975c751918bdaccbf2d831921bd9499789fbeb6
1 change: 0 additions & 1 deletion cli/organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func (r *RootCmd) organizations() *serpent.Command {
Use: "organizations [subcommand]",
Short: "Organization related commands",
Aliases: []string{"organization", "org", "orgs"},
Hidden: true, // Hidden until these commands are complete.
Handler: func(inv *serpent.Invocation) error {
return inv.Command.HelpHandler(inv)
},
Expand Down
2 changes: 0 additions & 2 deletions cli/organizationmanage.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ func (r *RootCmd) createOrganization() *serpent.Command {
cmd := &serpent.Command{
Use: "create <organization name>",
Short: "Create a new organization.",
// This action is currently irreversible, so it's hidden until we have a way to delete organizations.
Hidden: true,
Middleware: serpent.Chain(
r.InitClient(client),
serpent.RequireNArgs(1),
Expand Down
1 change: 0 additions & 1 deletion cli/organizationroles.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ func (r *RootCmd) organizationRoles(orgContext *OrganizationContext) *serpent.Co
Handler: func(inv *serpent.Invocation) error {
return inv.Command.HelpHandler(inv)
},
Hidden: true,
Children: []*serpent.Command{
r.showOrganizationRoles(orgContext),
r.editOrganizationRole(orgContext),
Expand Down
1 change: 0 additions & 1 deletion enterprise/cli/provisionerkeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ func (r *RootCmd) provisionerKeys() *serpent.Command {
Handler: func(inv *serpent.Invocation) error {
return inv.Command.HelpHandler(inv)
},
Hidden: true,
Aliases: []string{"key"},
Children: []*serpent.Command{
r.provisionerKeysCreate(),
Expand Down