You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each CLI command needs a configuration file for taking values from it. Solution via specifying @click.option decorator for each subcommand in a group seems to be not very clear, and maybe there is a better way to do such thing.
Task:
Investigate possibilities of python click module to make groups of commands with some shared options.
If support for such a feature is not very nice, look for another solution to this problem.
Expected result:
All subcommands would obtain the configuration file via the same source/context without specifying this as an option for each subcommand.
The text was updated successfully, but these errors were encountered:
Problem statement:
Each CLI command needs a configuration file for taking values from it. Solution via specifying
@click.option
decorator for each subcommand in a group seems to be not very clear, and maybe there is a better way to do such thing.Task:
Investigate possibilities of python click module to make groups of commands with some shared options.
If support for such a feature is not very nice, look for another solution to this problem.
Expected result:
All subcommands would obtain the configuration file via the same source/context without specifying this as an option for each subcommand.
The text was updated successfully, but these errors were encountered: