Dist::Zilla::App::Command::new.3pm

Langue: en

Autres versions - même langue

Version: 2010-08-22 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Dist::Zilla::App::Command::new - mint a new dist

VERSION

version 4.102340

SYNOPSIS

Creates a new Dist-Zilla based distribution under the current directory.
   $ dzil new Main::Module::Name
 
 

There are two arguments, "-p" and "-P". "-P" specify the minting profile provider and "-p" - the profile name.

The default profile provider first looks in the ~/.dzil/profiles/$profile_name and then among standard profiles, shipped with Dist::Zilla. For example:

   $ dzil new -p work Corporate::Library
 
 

This command would instruct "dzil" to look in ~/.dzil/profiles/work for a profile.ini (or other ``profile'' config file). If no profile name is given, "dzil" will look for the "default" profile. If no default directory exists, it will use a very simple configuration shipped with Dist::Zilla.

   $ dzil new -P Foo Corporate::Library
 
 

This command would instruct "dzil" to consult the Foo provider about the directory of 'default' profile.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org> This software is copyright (c) 2010 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.