Releases: c-blake/cligen
POSSIBLY BREAKING CHANGE
Possibly breaking changes due to encapsulation of almost half of the macro parameters to dispatchGen
/dispatch
. See RELEASE_NOTES.md
for details.
Fixes for nim-0.19.6
'nuff said.
Fix dispatchMulti on C++ BE for 0.19.[24]
See release notes.
Add Splitr,cols & fix dupBlock
Mostly punching this release so latest release of cligen keeps working with devel branch of Nim.
Finalize (probably) unambiguous prefix work
Also clean up some warnings and namespace things and deprecate argcvt.argsDf
(for any custom argHelp
definers).
Sloppy matching for subcommands
This release adds both CLI-style insensitivity (kebab/camel/snake collapse) and unambiguous prefix matching to subcommand names. So, now it works for all 3 major sets of keywords CLI users use - long options, enum values, and subcommands.
Unambiguous prefix match for long option keys
Add enum value-style prefix matching of last release but for long option keys. Specifically, ./test/DupShort --a 9
or ./test/DupShort --al 9
will fail with ambiguous prefix errors, but ./test/DupShort --alp 9
will succeed as if --alpha 9
had been given.
MultiMulti, cligen/mergeCfgEnv, better help &errors
Add several minor features. See RELEASE_NOTES.md for details.
mergeParams, spell check, new upating/split mode
This release adds several major features for CLI authors & CLI users: mergeParams
to synthesize input from multiple sources, more flexible calling of generated dispatchers, parseOnly
/setByParse
mode, better error checking, and for the CL user spell check/suggest on long params/subcommand names, a much simpler single argument update mode for ^=
& friends, and a user-chosen delimiter split-mode syntax to supplement that, and probably other things I'm neglecting to mention.
See RELEASE-NOTES and git/github logs for more details.