-
-
30 Jun 2020 13:08:28 UTC
- Distribution: Mojolicious-Command-Author-generate-cpanfile
- Module version: 0.20
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository (git clone)
- Issues
- Testers (240 / 12 / 14)
- Kwalitee
Bus factor: 1- 98.10% Coverage
- License: perl_5
- Perl: v5.18.0
- Activity
24 month- Tools
- Download (11.92KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Mojolicious::Command::Author::generate::cpanfile - cpanfile generator command
SYNOPSIS
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.
DESCRIPTION
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.ATTRIBUTES
Mojolicious::Command::Author::generate::cpanfile inherits all attributes from Mojolicious::Command and implements the following new ones.
description
my $description = $cpanfile->description; $cpanfile = $cpanfile->description('Foo');
Short description of this command, used for the command list.
usage
my $usage = $cpanfile->usage; $cpanfile = $cpanfile->usage('Foo');
Usage information for this command, used for the help screen.
METHODS
Mojolicious::Command::Author::generate::cpanfile inherits all methods from Mojolicious::Command and implements the following new ones.
run
$cpanfile->run(@ARGV);
Run this command.
LICENSE
Copyright (C) Bernhard Graf.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Bernhard Graf <augensalat@gmail.com>
SEE ALSO
Module Install Instructions
To install Mojolicious::Command::Author::generate::cpanfile, copy and paste the appropriate command in to your terminal.
cpanm Mojolicious::Command::Author::generate::cpanfile
perl -MCPAN -e shell install Mojolicious::Command::Author::generate::cpanfile
For more information on module installation, please visit the detailed CPAN module installation guide.