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
Kyle Carberry
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
Ammar Bandukwala
2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
Dean Sheather
d60ec3e4bf
feat: add JSON output format to many CLI commands ( #6082 )
2023-02-08 17:09:38 +00:00
Garrett Delfosse
88f3691dcc
feat: add count to get users endpoint ( #5016 )
2022-11-14 17:22:57 -05:00
Spike Curtis
184f0625e1
coder licenses add CLI command ( #3632 )
...
* coder licenses add CLI command
Signed-off-by: Spike Curtis <spike@coder.com>
* Fix up lint
Signed-off-by: Spike Curtis <spike@coder.com>
* Fix t.parallel call
Signed-off-by: Spike Curtis <spike@coder.com>
* Code review improvements
Signed-off-by: Spike Curtis <spike@coder.com>
* Lint
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
2022-08-23 13:55:39 -07:00
Dean Sheather
3610402cd8
Use new table formatter everywhere ( #3544 )
2022-08-19 02:41:00 +10:00
Dean Sheather
a872330a8d
feat: add generic table formatter ( #3415 )
2022-08-18 02:28:22 +10:00
Dean Sheather
df20dd7374
feat: improve coder users show output, add json format ( #3176 )
2022-07-26 15:47:12 -05:00
Mathias Fredriksson
749694b7de
fix: Standardize and wrap example descriptions at 80 chars ( #2894 )
2022-07-11 19:08:09 +03:00
Steven Masley
d3a0578fe1
feat: Allow regen-ssh and fetching a single user from the cli ( #1619 )
...
* feat: Allow regen-ssh and fetching a single user from the cli
2022-05-24 16:53:04 +00:00
Steven Masley
b55d83ca82
feat: Add suspend/active user to cli ( #1422 )
...
* feat: Add suspend/active user to cli
* UserID is now a string and allows for username too
2022-05-16 15:29:27 -05:00
Kyle Carberry
e0a7aec228
fix: Match kubectl table style for simpler scripting ( #1363 )
...
Fixes #1322 .
2022-05-10 15:57:07 -05:00
Kyle Carberry
be974cf280
feat: Add users create and list commands ( #1111 )
...
This allows for *extremely basic* user management.
2022-04-24 20:08:26 -05:00