-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade spf13/cobra dep to current master (#944)
* Pin spf13/cobra dep at b95db644ed1c0e183a90d8509ef2f9a5d51cc29b which includes the zsh completion fix for spf13/cobra#899 and remove the fork of cobra with fix in `replace` section of go.mod * Parse args without invoking a separate command Do not define and execute extractCommand before running actual root command to parse all the args without flags. This was creating issues with completion utils to generate additional shell completion directive. Now uses cobra's inbuilt utilities to parse the command args without flags. * Return error from stripFlags if any * Update unit tests
- Loading branch information
1 parent
879e5bd
commit 8232c9d
Showing
29 changed files
with
2,076 additions
and
753 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.