Changes for version 0.30

  • MooseX::Getopt::Basic
    • uses attribute insertion order when determining the order in which options are documented in the usage (e.g. in $obj->usage->text). (Karen Etheridge)
  • MooseX::Getopt::Basic
    • store the usage object to the usage attr (RT#58715)
    • properly checks whether the *option* --help, --usage, or --? were used, rather than the attribute 'help', 'usage' or '?' were set
  • MooseX::Getopt::GLD
    • add the usage attribute for storing the Getopt::Long::Descriptive::Usage object, and the help attribute for storing --help, --usage and --? state
  • (RT#47865, RT#56783, RT#52474). (Karen Etheridge)
  • MooseX::Getopt::Basic
    • Disable auto_help config in Getopt::Long, to avoid calling into pod2usage when the --help option is used while MooseX::ConfigFromFile is in use (the intent is just to fetch the value of the configfile option) (RT#57683). (Karen Etheridge)

Modules

A Moose role for processing command line options
MooseX::Getopt::Basic - role to implement the Getopt::Long functionality
convert underscores in attribute names to dashes
A Moose role for processing command line options with Getopt::Long::Descriptive
Optional meta attribute for custom option names
Optional meta attribute for ignoring params
Optional meta attribute trait for custom option names
Optional meta attribute trait for ignoring params
Storage for the option to type mappings
only make options for attrs with the Getopt metaclass

Provides

in lib/MooseX/Getopt/Meta/Attribute.pm
in lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
in lib/MooseX/Getopt/Meta/Attribute/Trait.pm
in lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm