feat: add organizations list command to coder cli (#21960)

follows on from #21940.

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

Generated with the help of Mux
This commit is contained in:
Rowan Smith
2026-02-06 14:09:39 +11:00
committed by GitHub
parent a4296cbbc4
commit 683a7c0957
8 changed files with 165 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ func (r *RootCmd) organizations() *serpent.Command {
},
Children: []*serpent.Command{
r.showOrganization(orgContext),
r.listOrganizations(),
r.createOrganization(),
r.deleteOrganization(orgContext),
r.organizationMembers(orgContext),