1Dist::Zilla::App::CommaUnsde:r:nCeown(t3r)ibuted Perl DoDciusmte:n:tZaitliloan::App::Command::new(3)
2
3
4
6 Dist::Zilla::App::Command::new - mint a new dist
7
9 version 6.017
10
12 Creates a new Dist-Zilla based distribution under the current
13 directory.
14
15 $ dzil new Main::Module::Name
16
17 There are two arguments, "-p" and "-P". "-P" specify the minting
18 profile provider and "-p" - the profile name.
19
20 The default profile provider first looks in the
21 ~/.dzil/profiles/$profile_name and then among standard profiles,
22 shipped with Dist::Zilla. For example:
23
24 $ dzil new -p work Corporate::Library
25
26 This command would instruct "dzil" to look in ~/.dzil/profiles/work for
27 a profile.ini (or other "profile" config file). If no profile name is
28 given, "dzil" will look for the "default" profile. If no default
29 directory exists, it will use a very simple configuration shipped with
30 Dist::Zilla.
31
32 $ dzil new -P Foo Corporate::Library
33
34 This command would instruct "dzil" to consult the Foo provider about
35 the directory of 'default' profile.
36
37 Furthermore, it is possible to specify the default minting provider and
38 profile in the ~/.dzil/config.ini file, for example:
39
40 [%Mint]
41 provider = FooCorp
42 profile = work
43
45 Ricardo SIGNES 😏 <rjbs@cpan.org>
46
48 This software is copyright (c) 2020 by Ricardo SIGNES.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.32.1 2021-01-27 Dist::Zilla::App::Command::new(3)