App::Spec::Pod - Generates Pod from App::Spec objects
my $generator = App::Spec::Pod->new( spec => $appspec, ); my $pod = $generator->generate;
my $pod = $generator->generate;
$pod->markup(text => \$abstract);
Applies markup defined in the spec to the text argument.
my $option_string = "Options:\n\n" . $self->options2pod( options => $options, );
my $param_string = "Parameters:\n\n" . $self->params2pod( parameters => $parameters, );
Generates pod for subcommands recursively
my @pod = $self->subcommand_pod( previous => [@previous_subcmds], commands => $subcmds, );
my $pod = $self->swim2pod($swim);
Converts Swim markup to Pod. See Swim.
Accessor for App::Spec object
To install App::Spec, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Spec
CPAN shell
perl -MCPAN -e shell install App::Spec
For more information on module installation, please visit the detailed CPAN module installation guide.