App-Base
view release on metacpan or search on metacpan
lib/App/Base/Script/Common.pm view on Meta::CPAN
(sort { $a->name cmp $b->name } (@{$self->all_options}));
return join('', @lines);
}
=head2 cli_template
The template usage form that should be shown to the user in the usage
statement when --help or an invalid invocation is provided.
Defaults to "(program name) [options]", which is pretty standard Unix.
=cut
sub cli_template {
return "$0 [options] "; # Override this if your script has a more complex command-line
# invocation template such as "$0[options] company_id [list1 [, list2 [, ...]]] "
}
=head2 usage
xt/author/eol.t view on Meta::CPAN
'xt/author/minimum-version.t',
'xt/author/mojibake.t',
'xt/author/no-tabs.t',
'xt/author/pod-syntax.t',
'xt/author/portability.t',
'xt/author/test-version.t',
'xt/release/common_spelling.t',
'xt/release/cpan-changes.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
( run in 1.360 second using v1.01-cache-2.11-cpan-39bf76dae61 )