All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Drop support for Python 3.8. (Pull #85)
- Add support for
click.Command-like,click.Group-like andclick.Context-like objects without requiring them to be actual subclasses. (Pull #82)
- Remove explicit reference to
click.BaseCommandandclick.MultiCommandobjects in anticipation of their deprecation. (Pull #82) - Properly ensure whitespace is trimmed from the usage string. (Pull #83)
- Propagate
context_settingstoclick.Context-like objects. (Pull #79) - Allow commands with no options. (Pull #84)
:prog_name:and other options can now contain multiple words (it used to stop at whitespace). (Pull #60)::: mkdocs-clickdirective is now recognized at the end of the file without needing an extra newline. (Pull #69)- Code blocks are marked as ```text so that HighlightJS doesn't try to highlight the "syntax" as some random language. (Pull #61)
- Add
list_subcommandsoption. (Pull #55)
- Add
show_hiddenoption. (Pull #52) - Update package metadata. (Pull #53)
- Only support newer versions of
clickin response to a breaking change. (Pull #49)
- Add ability to ignore ASCII art. (Pull #45)
- Correctly handle default values of
None. (Pull #41)
- Relax
clickversion constraint. (Pull #39)
--helpis now kept in options (it used to be automatically dropped). (Pull #29)
- Add table formatting. (Pulls #25, #30)
- Use
:prog_name:more consistently in usage. (Pull #24) - Allow using full command paths in headers. (Pull #36)
- Make usage and options headings bold to improve legibility. (Pull #31)
- Add
:prog_name:option to allow overriding the name of the CLI program. (Pull #8, contributed by @frankier.) - Add official support for Python 3.9. (Pull #20)
- Properly pin
click==7.*andmarkdown==3.*. (Pull #19)
- Raise proper error when processing unnamed commands. (Pull #4)
Initial implementation.
- Add
::: mkdocs-clickblock with:module:,:command:and:depth:options.