./devel/p5-Commandable, Perl module for utilities for commandline-based programs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14nb1, Package name: p5-Commandable-0.14nb1, Maintainer: pkgsrc-users

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.


Master sites: (Expand)

Filesize: 35.837 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504)
Log message:
*: recursive bump for perl 5.40
   2024-09-08 10:12:09 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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
   2024-08-25 08:27:50 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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
   2023-12-16 10:20:04 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-05-20 08:22:59 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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`
   2023-03-30 20:04:35 by Thomas Klausner | Files touched by this commit (3)
Log message:
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.