Skip to content

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

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

click.*option function parameter to accepts bool and Text#1699
JelleZijlstra merged 1 commit intopython:masterfrom
fizyk:click.prompt

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