Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: Added default value for --run-type click option in cli.py #258

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/nanorc/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def add_decorator(function):
'--ignore-run-registry-insertion-error', type=bool, is_flag=True, default=False,
help='Start the run, even if saving the configuration into the run registry fails')(f3)
f5 = accept_timeout(None)(f4)
f6 = click.option('--run-type', type=click.Choice(['TEST', 'PROD']))(f5)
f6 = click.option('--run-type', type=click.Choice(['TEST', 'PROD']), default='TEST')(f5)
return click.option('--message', type=str, default="")(f6)
# sigh end
return add_decorator
Expand Down