Skip to content

click.*option function parameter to accepts bool and Text #1699

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

Merged
merged 1 commit into from
Nov 4, 2017
Merged

click.*option function parameter to accepts bool and Text #1699

merged 1 commit into from
Nov 4, 2017

Conversation

fizyk
Copy link
Contributor

@fizyk fizyk commented Oct 30, 2017

This follows documentation and code which allows to use both bool and Text.
Update all the prompt arguments for all *option functions in click.decorators module
since they're mostly proxying the call to option setting desired defaults.

closes #1693

    This follows documentation and code which allows to use both bool and Text.
    Update all the prompt arguments for all *option functions in click.decorators module
    since they're mostly proxying the call to option setting desired defaults.

    closes #1693
@JelleZijlstra JelleZijlstra merged commit 81191e4 into python:master Nov 4, 2017
@fizyk fizyk deleted the click.prompt branch November 4, 2017 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

click.option prompt parameter can be Union[Text, bool]
2 participants