We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a very specific bug.
@group() def group1( self, option: Annotated[ str, Option("-o", hide_input=True, prompt=True, prompt_required=True) ], ):
call_command('mycommand', 'group1', 'subcommand', option='value')
This will still send a prompt and wait on stdin. The below however works as expected:
call_command('mycommand', 'group1', '-o', 'value', 'subcommand')
commands are similarly affected
The requirement to trigger this bug is that the parameter type must be non-optional.
See test test_call_group_with_prompt_value
The text was updated successfully, but these errors were encountered:
96a2668
bckohan
No branches or pull requests
This is a very specific bug.
call_command('mycommand', 'group1', 'subcommand', option='value')
This will still send a prompt and wait on stdin. The below however works as expected:
call_command('mycommand', 'group1', '-o', 'value', 'subcommand')
commands are similarly affected
The requirement to trigger this bug is that the parameter type must be non-optional.
See test test_call_group_with_prompt_value
The text was updated successfully, but these errors were encountered: