-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement login/logout UX (#413)
implemnt login UI based on https://github.com/notaryproject/notation/blob/main/specs/commandline/login.md fix: 1. added `Login Succeeded` message when login succeeded 2. added username parameter validation 3. removed --plain-http global flag 4. updated spec: removed logout --plain-http & --all flag Test: 1. login with -u -p flags 2. login with $NOTATION_USERNAME $NOTATION_PASSWORD 3. login with --password-stdin 5. login without username -> `username was not set.` Signed-off-by: Junjie Gao <[email protected]>
- Loading branch information
Showing
4 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters