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.031
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 This module should work on any version of perl still receiving updates
46 from the Perl 5 Porters. This means it should work on any version of
47 perl released in the last two to three years. (That is, if the most
48 recently released version is v5.40, then this module should work on
49 both v5.40 and v5.38.)
50
51 Although it may work on older versions of perl, no guarantee is made
52 that the minimum required version will not be increased. The version
53 may be increased for any reason, and there is no promise that patches
54 will be accepted to lower the minimum required perl.
55
57 Ricardo SIGNES 😏 <cpan@semiotic.systems>
58
60 This software is copyright (c) 2023 by Ricardo SIGNES.
61
62 This is free software; you can redistribute it and/or modify it under
63 the same terms as the Perl 5 programming language system itself.
64
65
66
67perl v5.36.1 2023-11-21 Dist::Zilla::App::Command::new(3)