logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Ricardo SIGNES 😏 <cpan@semiotic.systems>

Name

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

Perl Version

       This module should work on any version of perl still receiving updates from the Perl 5 Porters.  This
       means it should work on any version of perl released in the last two to three years.  (That is, if the
       most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)

       Although it may work on older versions of perl, no guarantee is made that the minimum required version
       will not be increased.  The version may be increased for any reason, and there is no promise that patches
       will be accepted to lower the minimum required perl.

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.

       Furthermore, it is possible to specify the default minting provider and profile in the ~/.dzil/config.ini
       file, for example:

         [%Mint]
         provider = FooCorp
         profile = work

Version

       version 6.032

See Also