Skip to content

Releases

license holder

Choose a tag to compare

@laprado laprado released this 15 Oct 17:40
c8354ee
  • the copyright holder in the license is now Leandro Prado (#4)

fix options with a value

Choose a tag to compare

@laprado laprado released this 15 Oct 14:09
e877ec4
  • 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

Choose a tag to compare

@lprsoft-io lprsoft-io released this 20 Feb 14:07
  • fix disallowed flags when parameters were passed using long names
  • unit tests updated

1.7.2

Choose a tag to compare

@lprsoft-io lprsoft-io released this 12 Oct 13:09

fix: raise an error when trying to add a second default command.

tests updated.

1.7.1

Choose a tag to compare

@lprsoft-io lprsoft-io released this 10 Sep 19:50
  • fluent interface calls to CommadBuilder improved.
  • new unit tests.
  • documentation updated.

1.6.0

Choose a tag to compare

@lprsoft-io lprsoft-io released this 26 Aug 18:34
  • 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

Choose a tag to compare

@lprsoft-io lprsoft-io released this 19 Aug 12:52
  • new validator for command constraint ccRequiresOneOption
  • documentation updated

1.5.0

Choose a tag to compare

@lprsoft-io lprsoft-io released this 13 Aug 21:51
  • documentation improved using pasdoc.
  • documentation published using github pages.

1.4.2

1.4.2 Pre-release
Pre-release

Choose a tag to compare

@lprsoft-io lprsoft-io released this 04 Aug 00:01
  • 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

1.4.1 Pre-release
Pre-release

Choose a tag to compare

@lprsoft-io lprsoft-io released this 03 Aug 18:12
  • new feature: custom user state control