parse_args 0.4.1 parse_args: ^0.4.1 copied to clipboard
A Dart package to parse command-line options simple way and in a portable style (bash, find, java, PowerShell)
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.