2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
71a893764e
chore: remove CreateAnotherUserWithUser
( #6068 )
...
This was not idiomatic Go!
2023-02-06 23:48:21 +00:00
df20dd7374
feat: improve coder users show output, add json format ( #3176 )
2022-07-26 15:47:12 -05:00
7ba6449054
Improve CLI logout flow ( #1692 )
...
* Improve CLI logout flow
* Fix lint error
* Make notLoggedInMessage a const
* successful logout with a msg when cfg files are absent
* use require, os.remove, show only one message, add prompt
2022-05-24 13:11:01 -04:00
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
4a78bade6d
bug: Cleaner error message for non logged-in users ( #1670 )
...
* add helper text to unauthorized error messages
* fix lint error, add unit tests
* fix test name
* fix test name
* fix lint errors in test
* add unauthorized test for templates create
* remove unnecessary variable
* remove Error struct, change error message
* change [url] to <url>
2022-05-23 14:51:49 -04:00
c8ed213347
fix: Guard against CLI cmd running after test exit ( #1658 )
...
* fix: Guard against CLI cmd running after test exit
* fix: cli: avoid calling t.FailNow in non-test-main goroutine
* fix: cli: server_test: avoid calling t.FailNow outside main goroutine
* fix: cli: clitest_test: avoid calling t.FailNow outside main goroutine
* fix: cli: list_test: avoid calling t.FailNow outside main goroutine
* fix: TestGitSSH use-of-t-after-exit
* fix: TestGitSSH "too many authentication failures"
Due to local SSH keys being given
* chore: clitest: fix TestCli
* chore: Simplify TestTemplateInit
Co-authored-by: Cian Johnston <cian@coder.com >
2022-05-23 20:09:58 +03:00
be974cf280
feat: Add users create and list commands ( #1111 )
...
This allows for *extremely basic* user management.
2022-04-24 20:08:26 -05:00