Subject: | possibility to group attributes in help output |
when adding multiple attributes to a class, the help command will list
them in a (pseudo-)random order. this can be confusing.
app::cmd allows to group them since opt_spec returns an array. it even
allows empty items, or items with only a string - eg:
sub opt_spec {
return (
[],
[ 'list only objects with extensions:' ],
[ 'foo!' => 'foo' ],
[ 'bar!' => 'bar' ],
);
}
with moosex::app::cmd (and the getopt trait), one can only provide a
"documentation"...
(note: i don't know whether to report this bug to this module or
moosex::getopt)