feat: add organization delete command to cli (#21940)

The API endpoints existed for this already, so this PR just adds CLI
functionality which uses those API endpoints.

closes #21891 

Generated with the help of Mux
This commit is contained in:
Rowan Smith
2026-02-05 19:35:20 +11:00
committed by GitHub
parent dc633e22a3
commit e3ce3c342a
8 changed files with 234 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ USAGE:
SUBCOMMANDS:
create Create a new organization.
delete Delete an organization
members Manage organization members
roles Manage organization roles.
settings Manage organization settings.
+15
View File
@@ -0,0 +1,15 @@
coder v0.0.0-devel
USAGE:
coder organizations delete [flags] <organization_name_or_id>
Delete an organization
Aliases: rm
OPTIONS:
-y, --yes bool
Bypass confirmation prompts.
———
Run `coder --help` for a list of global options.