Rowan Smith
683a7c0957
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
2026-02-06 14:09:39 +11:00
Rowan Smith
e3ce3c342a
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
2026-02-05 19:35:20 +11:00
Spike Curtis
606ae897b7
chore: refactor to directly create Client in Command Handlers ( #19760 )
...
Refactors the CLI to create the `*codersdk.Client` in the handlers. This is groundwork for changing the `rootCmd.InitClient()` to use the new `ClientOption`s.
It also improves variable locality, scoping the Client to the handler. This makes misuse less likely and reduces the memory allocations to just the command being executed, rather than allocating a Client for every command regardless of whether it is executed.
2025-09-22 17:14:07 +04:00
Steven Masley
d96adad56f
chore: add cli command to fetch group sync settings as json ( #14694 )
...
* chore: add cli command to fetch group sync settings as json
2024-09-17 14:08:33 -05:00
Steven Masley
be516f9686
chore: unhide multi-organization cli commands ( #14693 )
...
* chore: unhide multi-organization cli commands
Multi-org is going into GA, unhide cli commands
2024-09-17 10:22:20 -05:00
Steven Masley
5bf46f360a
chore: remove org context switcher in the cli ( #13674 )
...
* chore: remove org context switcher in the cli
2024-07-01 16:04:45 -05:00
Steven Masley
8e06ad46d0
chore: add organization member api + cli ( #13577 )
2024-06-20 09:19:24 -05:00
Steven Masley
d0fc81a51c
chore: implement cli list organization members ( #13555 )
...
example cli command:
`coder organization members`
2024-06-12 10:07:12 -10:00
Steven Masley
1b4ca00428
chore: include custom roles in list org roles ( #13336 )
...
* chore: include custom roles in list org roles
* move cli show roles to org scope
2024-05-23 07:54:59 -10:00
Steven Masley
0a86d6d176
chore: expose formatExamples enterprise commands ( #13304 )
...
Exporting it allows enterprise functions to also use it.
2024-05-21 13:26:34 -05:00
Ammar Bandukwala
b4c0fa80d8
chore(cli): rename Cmd to Command ( #12616 )
...
I think Command is cleaner and my original decision to use "Cmd"
a mistake.
Plus this creates better parity with cobra.
2024-03-17 09:45:26 -05:00
Ammar Bandukwala
496232446d
chore(cli): replace clibase with external coder/serpent ( #12252 )
2024-03-15 11:24:38 -05:00
Cian Johnston
9f3591add8
chore(cli): use xerrors.Errorf instead of fmt.Errorf ( #12368 )
2024-02-29 18:58:48 +00:00
Steven Masley
19baca55da
feat: implement create org commands from cli ( #12308 )
...
* feat: implement create org commands from cli
2024-02-27 10:13:08 -06:00
Steven Masley
70ccefc357
feat: set organization context in coder organizations ( #12265 )
...
* feat: add coder organizations set to change org context
`coder organizations set <org>`
2024-02-26 11:39:26 -06:00
Steven Masley
d2998c6b7b
feat: implement organization context in the cli ( #12259 )
...
* feat: implement organization context in the cli
`coder org show current`
2024-02-26 10:03:49 -06:00