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
This commit is contained in:
Abhineet Jain
2022-05-24 13:11:01 -04:00
committed by GitHub
parent 33e2e40942
commit 7ba6449054
4 changed files with 185 additions and 26 deletions
+1
View File
@@ -14,6 +14,7 @@ import (
)
func TestUserList(t *testing.T) {
t.Parallel()
t.Run("List", func(t *testing.T) {
t.Parallel()
client := coderdtest.New(t, nil)