Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix podchecker warnings #8

Merged
merged 4 commits into from Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions lib/Perinci/CmdLine/Base.pm
Expand Up @@ -1672,6 +1672,7 @@ sub run {

=head1 DESCRIPTION

#RENDER_TEMPLATE: file=>"share/templates/description.txt"

=head1 PROGRAM FLOW (NORMAL)

Expand Down Expand Up @@ -2109,8 +2110,13 @@ command-line argument even though there is C<default_subcommand> defined).

=head2 description => str

A short description of the application.

=head2 exit => bool (default: 1)

Define the application exit behaviour. A false value here allows hook code
normally run directly before the application exits to be skipped.

=head2 formats => array

Available output formats.
Expand Down Expand Up @@ -2248,8 +2254,13 @@ requested name only.

=head2 summary => str

Optional, displayed in description of the option in help/usage text.

=head2 tags => array of str

For grouping or categorizing subcommands, e.g. when displaying list of
subcommands.

=head2 url => str

Required if you only want to run one function. URL should point to a function
Expand Down Expand Up @@ -2316,6 +2327,9 @@ more lightweight script.

=head2 extra_urls_for_version => array of str

An array of extra URLs for which version information is to be displayed for
the action being performed.

=head2 skip_format => bool

If set to 1, assume that function returns raw text that need not be translated,
Expand Down
14 changes: 7 additions & 7 deletions lib/Perinci/CmdLine/Lite.pm
Expand Up @@ -570,19 +570,19 @@ backend on the fly.

=head1 REQUEST KEYS

All those supported by L<Perinci::CmdLine::Base>, plus:

=over

=back

All those supported by L<Perinci::CmdLine::Base>.

=head1 ATTRIBUTES

All the attributes of L<Perinci::CmdLine::Base>, plus:

=head2 validate_args => bool (default: 1)
=over

=item * validate_args => bool (default: 1)

Validate arguments using schema from metadata.

=back

=head1 METHODS

Expand Down