Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch '8.1.x'HEADmain | Sagi Buchbinder Shadur | 2023-05-03 | 1 | -1/+5 |
|\ | |||||
| * | Update dependencies using pip-compile-multi (#2508) | Sagi Buchbinder-Shadur | 2023-05-03 | 1 | -1/+5 |
| | | |||||
* | | switch to pyproject.toml | David Lord | 2023-01-19 | 1 | -1/+1 |
|/ | |||||
* | disallow use of is_flag and multiple in option | John Reese | 2022-04-28 | 1 | -0/+18 |
| | |||||
* | treat empty auto_envvar as None | David Lord | 2022-03-28 | 1 | -3/+4 |
| | |||||
* | shell completion prioritizes option values over new options | Paul Spangler | 2022-03-28 | 4 | -0/+121 |
| | | | | | | | 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/+7 |
| | |||||
* | group without command passes return value to result callback | David Lord | 2022-03-19 | 1 | -4/+4 |
| | |||||
* | fix test_detect_program_name | David Lord | 2022-03-17 | 1 | -11/+3 |
| | |||||
* | command decorator params argument | David Lord | 2022-02-21 | 1 | -0/+14 |
| | |||||
* | 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 | -6/+11 |
| | |||||
* | Store raw help string for commands | Stephen Finucane | 2022-02-20 | 1 | -0/+14 |
| | | | | | | | | | | | | | 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/+9 |
| | |||||
* | Option.show_default now overrides Context.show_default | Gianluca Gippetto | 2022-02-20 | 1 | -1/+22 |
| | | | | Previously, it was the opposite. | ||||
* | command and group decorator parentheses are optional | Angus L'Herrou | 2022-02-19 | 1 | -0/+37 |
| | |||||
* | parametrize bool switch and flag tests | David Lord | 2022-02-19 | 1 | -26/+25 |
| | | | | Co-authored-by: Maximilian Wassink <wassink.maximilian@protonmail.com> | ||||
* | parametrize some command tests | Israel Teneda | 2022-02-19 | 1 | -38/+24 |
| | |||||
* | replace for loop with parametrize | bdista | 2022-02-19 | 1 | -15/+15 |
| | |||||
* | parametrize chain tests | Shayegan Hooshyari | 2022-02-19 | 1 | -31/+28 |
| | |||||
* | parametrize basic option tests | David Lord | 2022-02-19 | 1 | -64/+74 |
| | | | | Co-authored-by: BALaka-18 <balaka2605@gmail.com> | ||||
* | Merge branch '8.0.x' | David Lord | 2022-01-13 | 1 | -0/+13 |
|\ | |||||
| * | Allow a callable default to have its own string representation | Krzysztof Kotlenga | 2021-12-28 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | remove deprecated Command autocompletion parameter | David Lord | 2021-11-10 | 1 | -14/+0 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-25 | 2 | -2/+18 |
|\ \ | |/ | |||||
| * | open_file hanldes pathlib.Path("-") | David Lord | 2021-10-25 | 2 | -2/+18 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-10 | 4 | -61/+49 |
|\ \ | |/ | |||||
| * | invoke type casts default values | David Lord | 2021-10-10 | 1 | -7/+9 |
| | | |||||
| * | click.confirm preserves prompt when readline is imported | Alex Ball | 2021-10-10 | 1 | -2/+2 |
| | | | | | | | | same fix as for click.prompt in 8.0.0 | ||||
| * | use pathlib to resolve symlinks | David Lord | 2021-10-10 | 2 | -52/+38 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-08 | 1 | -3/+49 |
|\ \ | |/ | |||||
| * | option with multiple and flag_value replaces internal placeholder | Ivan Kapelyukhin | 2021-10-08 | 1 | -0/+23 |
| | | | | | | | | Co-authored-by: David Lord <davidism@gmail.com> | ||||
| * | getting default value doesn't perform type cast | David Lord | 2021-10-08 | 1 | -2/+17 |
| | | |||||
| * | count help doesn't show default range type | David Lord | 2021-10-07 | 1 | -2/+10 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-05 | 1 | -2/+10 |
|\ \ | |/ | |||||
| * | Add test for resetting attributes in `click.style()` | Jasper Spaans | 2021-09-26 | 1 | -0/+8 |
| | | |||||
| * | Fix copy-paste errors in `click.style()` | Jasper Spaans | 2021-09-26 | 1 | -2/+2 |
| | | | | | | | | | | It looks like the code related to `underline` was copy-pasted, and not all the escape codes got put in correctly. | ||||
* | | Merge remote-tracking branch 'origin/8.0.x' | David Lord | 2021-08-14 | 1 | -0/+11 |
|\ \ | |/ | |||||
| * | fix symlink tests | chima | 2021-08-13 | 1 | -12/+10 |
| | | |||||
| * | revert path prefix stripping, modify test to work with prefix | cAtaman | 2021-08-12 | 1 | -0/+13 |
| | | |||||
* | | Merge remote-tracking branch 'origin/8.0.x' | David Lord | 2021-08-10 | 3 | -3/+50 |
|\ \ | |/ | |||||
| * | use sys.exit() instead of _fast_exit() | taran_lu | 2021-08-05 | 1 | -3/+0 |
| | | |||||
| * | resolve relative symlinks to the containing directory | cAtaman | 2021-08-05 | 2 | -0/+50 |
| | | |||||
* | | show_default doesn't show False default for single boolean flag | cAtaman | 2021-08-05 | 2 | -6/+28 |
|/ | |||||
* | completion arguments may start with a "/" | Sam Schott | 2021-07-04 | 1 | -0/+8 |
| | |||||
* | don't show empty multiple=True default | Patryk Bęza | 2021-07-04 | 1 | -0/+10 |
| | |||||
* | Fix is_bool_flag being set to True even if is_flag is False | Gianluca Gippetto | 2021-07-03 | 1 | -0/+20 |
| | | | | Fixes #1925. | ||||
* | show help text with invalid default | David Lord | 2021-05-19 | 2 | -1/+18 |
| | |||||
* | return resolved name, not original name | David Lord | 2021-05-19 | 1 | -0/+14 |
| | |||||
* | detect type from flag_value | David Lord | 2021-05-18 | 1 | -0/+7 |
| |