Repository navigation
v10.1.0
- Export
MissingExtraError,env_copy()andmachine_envvars_apply()from the package root, so they import asfrom click_extra import .... - Add
click_extra.layout.number_frames(), which numbers each frame of an animation at the gutter width of the tallest one. - A subcommand section of a configuration file leaves the keys it does not set to
context_settings["default_map"], as root keys do. click-extra snippetreads a source from standard input as UTF-8, like a source file.- Fix
cascade=Truelosing the keys a less local file sets in a subcommand section that a more local file also defines. - Fix the
Config filecolumn of--paramsnaming the wrong file for a key in a cascade of three or more files. - Fix the
Config filecolumn of--paramsprinting a remote configuration URL with a slash missing, likehttps:/example.com/basket.toml. - Fix
--helpand man pages printing a--configURL default with a single slash after its scheme. - Fix
unpatch_click()to restore the default theme thatpatch_click()replaced, and keep the default whenpatch_click()set no theme. - Fix the
xmlformat writing invalid XML for a name like0orapple piein tables andserialize_data(), and dropping columns under numeric headers. - Fix
click-extra screenshotending in a traceback when the command it captures cannot start: it now exits with an error message. - Fix
click-extra screenshot --timeoutending in a traceback when the command outlives it: it now exits with an error message. - Fix
click-extra snippetending in a traceback on a non-UTF-8 source, and emptying the output file when that source is stdin. - Fix
record_command()leaving both ends of its pseudo-terminal open when the command it records cannot start. - Fix animated captures with line numbers moving every row one cell right on the frames that reach 10 lines.
- Fix
--help-format markdownwriting&,<and>as raw HTML, which hid text like<stdout>in a browser. - Fix
--treeand man pages keeping Click's\bmarker when a command's first paragraph opens with it. - Fix the
click:treesummary table cutting each command description at 45 characters and hiding the cut. - Fix a
|in aclick:configdefault value splitting its row of the summary table. - Fix
click:configtable links missing the section of a key with accented letters or leading digits. - Fix
refresh-directivesand Sphinx builds skipping a<!--mirror-srccomment that has no space after<!--. - Fix
linkcheckreporting every link of theclick-extra-manpagesdirective as broken: only an HTML build writes the pages they point at.
Full changelog: v10.0.0...v10.1.0