Up to [cvs.NetBSD.org] / pkgsrc / devel / p5-Commandable
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for perl5 5.44.0
*: bump for perl 5.42.0
*: recursive bump for perl 5.40
p5-Commandable: update to 0.14.
0.14 2024-09-07
[CHANGES]
* Support discovering global options as attributes on package scalar
variables in the SubAttributes finder
0.13 2024-09-01
[CHANGES]
* Added `->add_global_options` method to support global options
* Support `=u` (unsigned) and `=f` (float) option types as well as
arbitrary regexp match validation
[BUGFIXES]
* Ensure that hyphens are converted to underscores when setting
default values for options
* Ensure that mode=bool options always have a defined value, even if
false
p5-Commandable: update to 0.12.
0.12 2024-08-21
[CHANGES]
* Moved `->parse_invocation` out of Command into Finder
* Optional additional help text generated by the package that
implements a given command
* Use `meta` instead of `no strict refs` hackery
* Avoid Test::NoWarnings
(devel/p5-Commandable) Updated 0.10 to 0.11
0.11 2023-06-08
[CHANGES]
* Added `$finder->find_and_invoke_list` convenience
* Print information about `[no-]` prefix for negatable options in
`help` output
* Optionally require that options all come before non-option
arguments
* Optionally allow bundling of single-letter boolean options
* Convert hyphens in option names to underscores when inserting their
value into the options hash
* Support integer-type checking in options
* Added various docs
[BUGFIXES]
* Ensure that `$cinv->putback_tokens` escapes quotes
*: recursive bump for perl 5.38
p5-Commandable: update to 0.10.
0.10 2023-04-29
[CHANGES]
* Add more types of option - negatable, incrementable, multi-value
(much thanks to ilmari)
* Use trailing `=` to indicate option names with values; to match
Getopt::Long
* Swap all unit tests from `Test::More` to `Test2::V0`
devel/p5-Commandable: import p5-Commandable-0.09 This distribution contains a collection of utilities extracted from various commandline-based programs, in the hope of trying to find a standard base to build these from in future. Note that "commandline" does not necessarily mean "plain-text running in a terminal"; simply that the mode of operation is that the user types a textual representation of some action, and the program parses this text in order to perform it. This could equally apply to a command input text area in a GUI program.