Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | release version 8.1.3 | David Lord | 2022-04-28 | 1 | -1/+1 |
| | |||||
* | disallow use of is_flag and multiple in option | John Reese | 2022-04-28 | 1 | -0/+3 |
| | |||||
* | use verbose Callable for @command and @group | Jonxslays | 2022-04-26 | 1 | -0/+3 |
| | |||||
* | start version 8.1.3 | David Lord | 2022-04-26 | 1 | -0/+6 |
| | |||||
* | release version 8.1.2 | David Lord | 2022-03-31 | 1 | -1/+1 |
| | |||||
* | restore Path param order | David Lord | 2022-03-31 | 1 | -0/+3 |
| | |||||
* | fix readable path check error message | Alexander Shadchin | 2022-03-31 | 1 | -0/+3 |
| | |||||
* | start version 8.1.2 | David Lord | 2022-03-31 | 1 | -0/+6 |
| | |||||
* | release version 8.1.1 | David Lord | 2022-03-30 | 1 | -1/+1 |
| | |||||
* | fix(types): decorator typing fails | Henry Schreiner | 2022-03-30 | 1 | -0/+3 |
| | |||||
* | start version 8.1.1 | David Lord | 2022-03-30 | 1 | -0/+6 |
| | |||||
* | release version 8.1.0 | David Lord | 2022-03-28 | 1 | -0/+2 |
| | |||||
* | treat empty auto_envvar as None | David Lord | 2022-03-28 | 1 | -0/+3 |
| | |||||
* | shell completion prioritizes option values over new options | Paul Spangler | 2022-03-28 | 1 | -0/+2 |
| | | | | | | | Allow option values that start with an option prefix to complete rather than treating them like new options. Don't treat count options as needing a value to complete. | ||||
* | fix ParamType.to_info_dict() with no name | Matthew Martin | 2022-03-19 | 1 | -0/+2 |
| | |||||
* | group without command passes return value to result callback | David Lord | 2022-03-19 | 1 | -0/+3 |
| | |||||
* | correctly annotate return type of @command(cls=XYZ) | matejcik | 2022-03-11 | 1 | -0/+2 |
| | |||||
* | command decorator params argument | David Lord | 2022-02-21 | 1 | -0/+3 |
| | |||||
* | glob expansion on Windows doesn't fail on invalid values | David Lord | 2022-02-21 | 1 | -0/+2 |
| | |||||
* | allow empty str input for prompt | unparalleled-js | 2022-02-21 | 1 | -0/+2 |
| | |||||
* | defer processing Command.help, epilog, and short_help | David Lord | 2022-02-21 | 1 | -4/+5 |
| | |||||
* | Store raw help string for commands | Stephen Finucane | 2022-02-20 | 1 | -0/+2 |
| | | | | | | | | | | | | | Some tools, such as sphinx-click [1], may wish to access the full help string for a command including any text after the form feed character (which indicates truncation [2]). Make this possible by storing the help string without truncation and instead truncate when we use this string (i.e. truncate on load, not on store). [1] https://github.com/click-contrib/sphinx-click/issues/56 [2] https://click.palletsprojects.com/en/latest/documentation/#truncating-help-texts Signed-off-by: Stephen Finucane <stephen@that.guru> | ||||
* | enforce required flag | Danny Sepler | 2022-02-20 | 1 | -0/+2 |
| | |||||
* | reword locale encoding changelog | David Lord | 2022-02-20 | 1 | -3/+3 |
| | |||||
* | reword locale encoding changelog | David Lord | 2022-02-20 | 1 | -2/+2 |
| | |||||
* | cleandoc for Command help, epilog, and short_help | David Lord | 2022-02-20 | 1 | -2/+4 |
| | |||||
* | Option calls cleandoc on help instead of @option | Gianluca Gippetto | 2022-02-20 | 1 | -0/+2 |
| | |||||
* | param=None is the same as not passing the param | Gianluca Gippetto | 2022-02-20 | 1 | -0/+3 |
| | |||||
* | Option.show_default now overrides Context.show_default | Gianluca Gippetto | 2022-02-20 | 1 | -0/+2 |
| | | | | Previously, it was the opposite. | ||||
* | fix changelog for executable | David Lord | 2022-02-19 | 1 | -3/+2 |
| | |||||
* | add an ability to check that a Path has an executable bit set | Nicky Sielicki | 2022-02-19 | 1 | -1/+2 |
| | |||||
* | command and group decorator parentheses are optional | Angus L'Herrou | 2022-02-19 | 1 | -0/+2 |
| | |||||
* | remove utf-8 detection | David Lord | 2022-02-18 | 1 | -0/+3 |
| | |||||
* | Merge branch '8.0.x' | David Lord | 2022-02-18 | 1 | -2/+3 |
|\ | |||||
| * | release version 8.0.4 | David Lord | 2022-02-18 | 1 | -1/+1 |
| | | |||||
| * | Fix type for `file` argument | Yourun-Proger | 2022-02-18 | 1 | -1/+2 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2022-02-17 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Fix typing in click.secho function | Jonxslays | 2022-01-16 | 1 | -0/+1 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2022-01-13 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Update shell completion to use COMPREPLY instead of COMREPLY for Bash | Ashwin Madavan | 2021-12-28 | 1 | -0/+3 |
| | | |||||
| * | Allow a callable default to have its own string representation | Krzysztof Kotlenga | 2021-12-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | As it was before 78a62b37c956e71b32689a0d5c75a684aa9ab56d. A callable can also be an object with __call__ and __str__ defined, in which case it makes sense to use it. Don't try too hard to show something else instead, because the developer most likely knows what he (or she) is doing. https://github.com/pallets/click/issues/2099 | ||||
| * | Fix TypeVar for decorators that handle Commands | David Euresti | 2021-12-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old type var would throw away the types of Callables. ``` import click @click.option("--name", prompt="Your name", help="The person to greet.") def hello(name: str) -> None: ... reveal_type(hello) # note: Revealed type is 'def (*Any, **Any) -> Any' ``` With this small adjustment mypy now knows that it's a `'def (name: builtins.str)'` | ||||
* | | remove deprecated get_os_args | David Lord | 2021-11-10 | 1 | -0/+1 |
| | | |||||
* | | remove deprecated get_terminal_size | David Lord | 2021-11-10 | 1 | -0/+2 |
| | | |||||
* | | remove deprecated Command autocompletion parameter | David Lord | 2021-11-10 | 1 | -0/+2 |
| | | |||||
* | | remove deprecated Group.resultcallback | David Lord | 2021-11-10 | 1 | -0/+4 |
| | | |||||
* | | drop Python 3.6 | David Lord | 2021-11-10 | 1 | -1/+2 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-25 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | open_file hanldes pathlib.Path("-") | David Lord | 2021-10-25 | 1 | -0/+9 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-10 | 1 | -0/+13 |
|\ \ | |/ |