Repository navigation
Releases
Releases · laprado/pascli
license holder
fix options with a value
- options with a value keep it when another option follows (
--name=x --verbose) - a short flag with a value keeps its dash in the raw options (
-n=x) - the not allowed flags are validated for options with a value, in any order
- long options with a value are no longer cut at 30 characters
- a command that fails the validation exits with code 1
- docs generated with pasdoc 1.0 and published with GitHub Actions at https://laprado.github.io/pascli/
- build and tests on pull requests, Linux and Windows
Closes #1.
fix not allowed flags
- fix disallowed flags when parameters were passed using long names
- unit tests updated
1.7.2
fix: raise an error when trying to add a second default command.
tests updated.
1.7.1
- fluent interface calls to CommadBuilder improved.
- new unit tests.
- documentation updated.
1.6.0
- new feature that allows an option to receive value from command line, ex: --my-option="my value"
- new tests for check option constraints
- sample options updated to use this feature
- UsageCommand updated to show to the user the option that may accept a value
- documentation update
1.5.1
- new validator for command constraint ccRequiresOneOption
- documentation updated
1.5.0
- documentation improved using pasdoc.
- documentation published using github pages.
1.4.2
- new property "Error" for color theme record.
- change default theme to LightThemeColor if environment variable "COLORFGBG" is detected and the color for background is equal to 15 (white); Ex: value for COLORFGBG="0;15"
1.4.1
- new feature: custom user state control