NAME

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

VERSION

version 6.000

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

AUTHOR

Ricardo SIGNES 🎃 <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 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.