-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: Enable deprecation warnings before the prompts
`click.Command`s have a deprecated flag that results in a printed deprecation warning on usage (and adaptions of help page). The `click.option` prompts are however invoked before that warning is printed. Therefore we consume the `deprecated` flag of the `click.Command` in `VerdiCommandGroup.get_command` and handle the deprecation logic there. Add deprecation info of `verdi code setup` to help page Add deprecation warning decoratior to `verdi setup` Add deprecation info of `verdi setup` to help page
- Loading branch information
1 parent
06f8f4c
commit 726a593
Showing
4 changed files
with
60 additions
and
8 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