Skip to content

Releases: c-blake/cligen

Add find-replace syntax for cligen/argcvt.argParse(string)

22 Jun 12:36
b45a7d0
Compare
Choose a tag to compare

Also some slight enhancement to printedLen & printedChars for unprintable ASCII and some minor ""-safety fix ups.

RELEASE-NOTES.md has more details & git log max details.

Minor bug fix release

27 May 17:36
a8b9513
Compare
Choose a tag to compare

Address problem in rare cases where open() succeeds, but read() immediately fails.

Minor API updates

02 May 16:15
678f141
Compare
Choose a tag to compare

Release notes have more details and git log full details, but mostly just cligen/mslice.join/find, a new strUt.nearUnity4, and an fcvt bug fix.

Rename `sysUt.!` to `sysUt.!!` for various reasons

13 Apr 11:31
fe45e85
Compare
Choose a tag to compare

Mostly this is much easier to in-file search for (no collision with != or comment text), but also emphasizes the operator better which is helpful since it is a control flow operator.

utf8 bugfix; SGR/ANSI color code Update; Helper Libs updates

12 Apr 18:42
85be609
Compare
Choose a tag to compare

Subject is a pretty good "summary". The bug fix was for iterator printedChars on strings ending in multi-byte utf8. The SGR updates are renaming conceal -> hid and adding over and -fg, -bg with similar updates in python/cg.py and a new textAttr shorthand. The helper lib updates are a few mods/adds to cligen/sysUt and deprecation of the always questionable sysUt.findUO. RELEASE_NOTES.md has more details and git log max detail.

--help-syntax default text improvement; textUt improvments; Warning silence

01 Apr 19:18
213db23
Compare
Choose a tag to compare

That's a pretty good summary. RELEASE-NOTES.md has more details and the version control changelog all details.

Dependent packages should not feel compelled to upgrade unless their users complain about --help-syntax or lack of "overline" or "-fg -bg" kinds of SGR codes.

Add cg.py for Nim refugees in PythonLand; Add `writeContAddrTempFile`

11 Mar 18:00
3a56804
Compare
Choose a tag to compare

See python/cg.md for some preliminary documentation.

python/cg.py is quite incomplete relative to cligen.nim, but it does the basics of what I need right now to not feel CLI framework-impaired when there is some Py lib/ecosystem I want to write a quick script around.. python/pq.py is a full usage example in the rp / crp family of awk imitations.

Also add the almost never supported SGR attribute conceal & its negation -conceal and a little utility function cligen/osUt.writeContAddrTempFile

Just to make the VC tip a clean release after init syntax thrash

20 Feb 21:43
703edd1
Compare
Choose a tag to compare

Default-default-value controls, $usehdr & ClCfg.(wrap(Doc|Table)|subRowSep)

08 Nov 18:06
e274362
Compare
Choose a tag to compare

RELEASE_NOTES.md has details as usual, but controls for how string & bool default values are rendered in help messages have been added to ClCfg for CLauthor default-setting with CLuser override in config files.. basically minStrQuoting, trueDefaultStr, & falseDefaultStr. These were, of course, always alterable via defining custom argHelp, but this tunability shouldn't impact non-users-of it. Also added $usehdr for the main usage template, ClCfg.wrap(Doc|Table) and abstract the old newline-only separator into ClCfg.subRowSep and fix an old bug related to ignoring the CLuser use|usage template.

In short, basically several new fine-grained format controls.

Very minimal change to config file finding

22 Oct 16:16
f50f887
Compare
Choose a tag to compare

See RELEASE_NOTES.md and git log -p. Really should be just an internal simplification, but I wanted to make this its own release just in case.