weavedoc
version 0.001
weavedoc [--license <license>] [--version <version>] [--author <author>] <file> weavedoc -h|--help
This program takes a path to a Perl file and runs it through Pod::Weaver, the pluggable POD pre-processor, and then displaying the documentation (like perldoc).
A path to a Perl file to weave and display.
weavedoc --license Perl_5 Module.pm
The name of a license to declare in the resulting POD. Should be a valid subclass of Software::License. Some examples are: Perl_5, GPL_1, GPL_2, GPL_3, Artistic. A more-complete list is provided in the documentation for Software::License.
Perl_5
GPL_1
GPL_2
GPL_3
Artistic
weavedoc --version 1.23 Module.pm
The version of the input Perl file, to be used if necessary in the POD.
weavedoc --author 'Doug Bell <doug@example.com>' Module.pm
The author of the Perl file. May be specified multiple times for multiple authors. You can include an e-mail address in <> brackets.
weavedoc expects a Pod::Weaver configuration file (weaver.ini) in the current directory.
weaver.ini
-i in-place mode to munge the code in-place like Dist::Zilla does
-i
--no-strip to disable stripping code. This is the default in -i mode.
--no-strip
--config <file> to specify a path to a Pod::Weaver config file.
--config <file>
Use a default configuration when no weaver.ini configuration file found in the current directory.
Search parent directories for weaver.ini.
Determine the --version automatically from the input code.
--version
-M <formatter_class> option to specify formatter class, like perldoc has.
-M <formatter_class>
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2017 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::weavedoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::weavedoc
CPAN shell
perl -MCPAN -e shell install App::weavedoc
For more information on module installation, please visit the detailed CPAN module installation guide.