-
Improved: Redesigned
CliNamerclass. From now on, auto generated short aliases for commands and options
will be single character only to be compatible with POSIX conventions
(to prevent confusion with argument bundling/clustering e.g.-wpmeaning-wand-p).
This may be a BREAKING CHANGE in your CLI app so check your short aliases if you depended on auto-generation.The new rules:
First letter of the name will be used to create short form which is converted according to
[CliCommand].NameCasingConventionproperty;
if it conflicts, the case of the letter is changed;
if it conflicts again, first letter of the next word in the name is tried and so on.
(e.g.Info->iorI,ServerPort->sorSorporP,Option1->oorO)
No short form alias will be added if a non-conflicting one can not be found, user can manually set a specific alias for these missing ones.For options, single hyphen/dash prefix is added to the short form.
(e.g.Info->-ior-I,ServerPort->-sor-Sor-por-P,Option1->-oor-O)
This can be changed via[CliCommand].ShortFormPrefixConventionproperty (default: SingleHyphen).More robust handling of conflicts in
CliNamer, i.e. checks all conflicts at once and then throws an exception which
lists all errors. -
Improved: Strong name sign the DLLs for NuGet package. Signing will be done only when
DotMake.snkexists,
it's not committed to this repository.