v7.20.0
- Add
MultiChoicetoclick_extra.types: a ClickParamTypefor comma-separated multi-pick from a fixed set of values, the pick-many counterpart toclick.Choice. - Extend the
--show-paramstable with seven new columns (Is flag,Flag value,Is bool flag,Multiple,Nargs,Prompt,Confirmation prompt). - Add the
--columnsoption (ColumnsOption,@columns_option) for SQLSELECT-style column selection on both--show-paramsand the standaloneclick-extra show-paramssubcommand. - Add a
click:treeSphinx directive that walks a Click command tree and expands into a summary table plus one{click:run}--helpblock per command. MyST-only. - Fix
click-extra show-paramsignoring the top-level--table-formatoption and rendering its default as the enum name instead of the kebab-case ID. - Fix
click-extra show-paramsandclick-extra manresolving auto-generated environment variables as empty; theenvvarscolumn now matches what Click reads at runtime. - Fix the MkDocs plugin stripping ANSI escape codes but rendering no colors: it now generates the ANSI Pygments stylesheet and registers it through
extra_css, so the-Ansi-*classes it emits are styled. - Drop duplicate and dead CSS classes from ANSI HTML rendering: compound tokens like
Token.Ansi.Bold.Cyannow emit-Ansi -Ansi-Bold -Ansi-Cyaninstead of repeating-Ansi-Boldand adding an unstyled-Ansi-Bold-Cyan.
Full changelog: v7.19.0...v7.20.0
🛡️ VirusTotal scans
| Binary | Detections | Analysis |
|---|---|---|
click-extra-7.20.0-linux-arm64.bin |
0 / 60 | View scan |
click-extra-7.20.0-linux-x64.bin |
0 / 61 | View scan |
click-extra-7.20.0-macos-arm64.bin |
1 / 60 | View scan |
click-extra-7.20.0-macos-x64.bin |
1 / 59 | View scan |
click-extra-7.20.0-windows-arm64.exe |
2 / 67 | View scan |
click-extra-7.20.0-windows-x64.exe |
18 / 69 | View scan |