Mojolicious::Command::Author::generate::cpanfile - cpanfile generator command
Usage: APPLICATION generate cpanfile [OPTIONS] mojo generate cpanfile mojo generate cpanfile -r Mojolicious::Plugin::OpenAPI mojo generate cpanfile -l lib -l src -t t -t xt Options: -h, --help Show this summary of available options -l, --lib Overwrite module directories in which to look for dependencies. Can be used multiple times. Defaults to 'lib' if no -l option is used. -r, --requires Add module to dependencies that can't be found by scanner. Can be used multiple times. -t Overwrite test directories in which to look for test dependencies. Can be used multiple times. Defaults to 't' if no -t option is used.
Mojolicious::Command::Author::generate::cpanfile generates a cpanfile file by analyzing the application source code. It scans the *.pm files in the directories under ./lib (or whatever is given by the -l option) for regular module dependencies and *.t files in ./t (or whatever is given by the -t option) for test dependencies.
cpanfile
*.pm
-l
*.t
-t
Mojolicious::Command::Author::generate::cpanfile inherits all attributes from Mojolicious::Command and implements the following new ones.
my $description = $cpanfile->description; $cpanfile = $cpanfile->description('Foo');
Short description of this command, used for the command list.
my $usage = $cpanfile->usage; $cpanfile = $cpanfile->usage('Foo');
Usage information for this command, used for the help screen.
Mojolicious::Command::Author::generate::cpanfile inherits all methods from Mojolicious::Command and implements the following new ones.
$cpanfile->run(@ARGV);
Run this command.
Copyright (C) Bernhard Graf.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Bernhard Graf <augensalat@gmail.com>
Mojolicious, Mojolicious::Guides, https://mojolicious.org.
To install Mojolicious::Command::Author::generate::cpanfile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Command::Author::generate::cpanfile
CPAN shell
perl -MCPAN -e shell install Mojolicious::Command::Author::generate::cpanfile
For more information on module installation, please visit the detailed CPAN module installation guide.