parse_args 0.5.1 copy "parse_args: ^0.5.1" to clipboard
parse_args: ^0.5.1 copied to clipboard

outdated

A Dart package to parse command-line options simple way and in a portable style (bash, find, java, PowerShell)

0.5.1 #

  • The function 'unquote' is moved away from the public access in order to avoid possible clashes with the similar ones in consuming applications.

0.5.0 #

  • New feature: support for -name=value, -name="value", -name='value', -name="value1,value2,...", -name='value1,value2,...'. The next plain argument is not treated as another value of this option in order to avoid the visual confusion.

0.4.2 #

  • Bug fix: not the last option name was passed to the handler.

0.4.1 #

  • A test for the bad value separator usage.

0.4.0 #

  • The ability to pass value separator and to split a single argument coming after the respective option.

0.3.1 #

  • The options definitions string can be multi-line, as all blank characters will get removed.
  • Several constants in OptDef made private as being insignificant outside the class.

0.3.0 #

  • Make calls to the user-defined handler in the order of the options appearing in the definitions list.

0.2.3 #

  • Fixed description in pubspec.yaml and README.md.
  • Added documentation foer a few constants

0.2.2 #

  • Fixed minor bugs.
  • Extended comments and made them uniform (same style)
  • Got rid of dart:io dependency in OptException
  • Removed unused property OptDef.level

0.2.1 #

  • Fixed minor bugs.
  • Made various parts of documentation consistent.
  • Renamed OptValueMode to OptValueCountType.

0.2.0 #

  • Added ability to define options to parse as well as to automate options/values validations.
  • Added ability to get values pre-converted to one of the known types (binary, decimal, hexadecimal, octal, double-precision float, string).
  • Added ability to perform arguments parsing twice (options definition string is parsed once as before). This is useful when you need to know more than one value while parsing. For instance, if the start-in directory and a filename are both options, you can't assign the file path straightaway
  • Full compatibility with the older version - just pass the null or empty string.

0.1.1 #

  • Fixed Dart formatting issues.
  • Minor fixes in documentation.

0.1.0 #

  • Initial release.
0
likes
0
pub points
0%
popularity

Publisher

verified publisheraiurovet.com

A Dart package to parse command-line options simple way and in a portable style (bash, find, java, PowerShell)

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on parse_args