Skip to content

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

Merged
JelleZijlstra merged 1 commit into
python:masterfrom
fizyk:click.prompt
Nov 4, 2017
Merged

JelleZijlstra merged 1 commit into
python:masterfrom
fizyk:click.prompt

Conversation

@fizyk

@fizyk fizyk commented Oct 30, 2017 •

Copy link
Copy Markdown
Contributor

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