1App::Pinto::Command::inUiste(r3)Contributed Perl DocumenAtpapt:i:oPninto::Command::init(3)
2
3
4
6 App::Pinto::Command::init - create a new repository
7
9 version 0.14
10
12 pinto --root=REPOSITORY_ROOT init [OPTIONS]
13
15 This command creates a new repository. If the target directory does
16 not exist, it will be created for you. If it does already exist, then
17 it must be empty. You can set the configuration properties of the new
18 repository using the command line options listed below.
19
21 The path to the repository root directory can also be be given as an
22 argument, which will silently override the "--root" option. So the
23 following are equivalent:
24
25 pinto --root=/some/directory init
26 pinto init /some/directory
27
29 --description=TEXT
30 A brief description of the initial stack. Defaults to "the initial
31 stack". This option is only allowed if the "STACK" argument is
32 given.
33
34 --no-default
35 Do not mark the initial stack as the default stack. If you choose
36 not to mark the default stack, then you'll be required to specify
37 the "--stack" option for most commands. You can always mark (or
38 unmark) the default stack at any time by using the default command.
39
40 --recurse
41 --no-recurse
42 Sets the default recursion behavior for the pull add add commands.
43 "--recurse" means that commands will be recursive by default.
44 "--no-recurse" means commands will not be recursive. If you do
45 not specify either of these, it defaults to being recursive.
46 However, each command can always override this default.
47
48 --source=URI
49 The URI of the upstream repository where distributions will be
50 pulled from. This is usually the URI of a CPAN mirror, and it
51 defaults to <http://cpan.perl.org> and <http://backpan.perl.org>.
52 But it could also be a CPAN::Mini mirror, or another Pinto
53 repository.
54
55 You can specify multiple repository URIs by repeating the
56 "--source" option. Repositories that appear earlier in the list
57 have priority over those that appear later. See Pinto::Manual for
58 more information about using multiple upstream repositories.
59
60 --stack=NAME
61 Sets the name of the initial stack. Stack names must be
62 alphanumeric plus hyphens, underscores, and periods, and are not
63 case-sensitive. Defaults to "master".
64
66 Jeffrey Ryan Thalhammer <jeff@stratopan.com>
67
69 This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
70
71 This is free software; you can redistribute it and/or modify it under
72 the same terms as the Perl 5 programming language system itself.
73
74
75
76perl v5.32.1 2021-01-27 App::Pinto::Command::init(3)