v0.13.0
- Added a new global option
-i
/--ignore-case
. - Implemented wildcards. A wildcard (
*
) section name or key matches everything. - Repeated keys and section names are handled correctly. Commands act on every copy.
exist
andget ... --value-only
did not work correctly for repeated items before.
This release includes changes that break compatibility, one major (exit status) and two minor.
get
,set
,delete
can exit with non-zero status. The previous approach of never doing this made it easier for mistakes to go unnoticed. Sorry if this breaks your script. It was a mistake to keep the old behavior for so long.- Initool no longer prints the section name on
get existing-section missing-property
. It is not clear it helped users in any way. It might have been confusing, creating the impression that the section was empty when it may or may not have been. (This change only affects getting a nonexistent property. Initool gets an empty section like it did before. Deleting everything from a section does not delete the section itself, since an empty section's presence may have meaning.) - Initool no longer prints a blank line when there is nothing to output from
get
ordelete
.