-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CLI] upgrade urfave/cli to v2 (#6285)
What changed? changed GlobalFlag to normal flags as it's no longer supported Flag aliases are separated into a separate field populate error for CLI actions Why? V2 introduced a background context field in cli.Context which can be used to propagate traces and security tokens in a centralized way. How did you test it? Unit test Potential risks Release notes Documentation Changes Before shengs@shengs-DQG34F2RHF cli % cadence --env development --do not-exist-domain domain describe Error: Domain not-exist-domain does not exist. Error Details: Domain not-exist-domain does not exist. ('export CADENCE_CLI_SHOW_STACKS=1' to see stack traces) After shengs@shengs-DQG34F2RHF cli % go run main.go --do not-exist-domain domain describe Error: Domain not-exist-domain does not exist. Error Details: Domain not-exist-domain does not exist. ('export CADENCE_CLI_SHOW_STACKS=1' to see stack traces) Domain not-exist-domain does not exist. exit status 1
- Loading branch information
1 parent
02984fd
commit d19937f
Showing
56 changed files
with
2,763 additions
and
2,415 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
Oops, something went wrong.