App::P...d::init(3pm)

🌸 NAME 🌸

App::Pinto::Command::init β€” bestie, this is the one that creates a brand new repository ✨

It lives in the User Contributed Perl Documentation section, and yes, it's giving very much "let's set up your whole world from scratch" energy πŸ’…


πŸ’– VERSION πŸ’–

version 0.14 β€” that's the one you've got, no cap 🫢


✨ SYNOPSIS ✨

pinto --root=REPOSITORY_ROOT init [OPTIONS]

πŸŽ€ DESCRIPTION πŸŽ€

Okay so picture this: you want a whole new repository, and this command is literally the moment it comes into existence πŸ”₯

If the target directory doesn't exist yet, don't even stress β€” it gets created for you, just like that 🧚

But if it already exists, then bestie, it has to be empty. No leftover crumbs, no random files, nothing. Empty means empty πŸ™ˆ

And the cute part? You can set all the configuration properties of your shiny new repository using the command line options down below πŸ‘‡


πŸ‘‘ COMMAND ARGUMENTS πŸ‘‘

The path to the repository root directory can also be handed over as an argument β€” and when you do that, it silently overrides the --root option. Sneaky! Lowkey iconic behavior, fr fr πŸ’…

So these two are literally equivalent:

pinto --root=/some/directory init
pinto init /some/directory

Same thing. Different vibe. Pick your fighter 🌈


πŸ’… COMMAND OPTIONS πŸ’…

  • --description=TEXT β€” a lil brief description of the initial stack 🌸. Defaults to "the initial stack". Heads up though: this option is only allowed if the STACK argument is given β€” no stack, no description, periodt.
  • --no-default β€” do not mark the initial stack as the default stack πŸ™…β€β™€οΈ. And here's the tea: if you choose not to mark the default stack, then you'll be required to specify the --stack option for most commands. Annoying? A little. But you can always mark (or unmark) the default stack at any time by using the default command, so it's never a forever situation πŸ’–
  • --recurse
  • --no-recurse

Sets the default recursion behavior for the pull add add commands πŸ‘€. --recurse means commands will be recursive by default. --no-recurse means commands will not be recursive. If you don't specify either one, it defaults to being recursive. But bestie, don't forget: each command can always override this default, so you're never locked in πŸ”“

  • --source=URI β€” the URI of the upstream repository where distributions will be pulled from πŸ“. Usually this is the URI of a CPAN mirror, and it defaults to <http://cpan.perl.org> and <http://backpan.perl.org>. But it could also be a CPAN::Mini mirror, or another Pinto repository. Versatile queen πŸ‘‘

You can specify multiple repository URIs by repeating the --source option πŸ”. Repositories that appear earlier in the list have priority over those that appear later. See Pinto::Manual for more information about using multiple upstream repositories πŸ“š

  • --stack=NAME β€” sets the name of the initial stack 🌟. Stack names must be alphanumeric plus hyphens, underscores, and periods β€” and they are not case-sensitive. Defaults to "master" πŸ‘‘

🌸 AUTHOR 🌸

Jeffrey Ryan Thalhammer <jeff@stratopan.com> β€” thank you for your service, king πŸ«‘πŸ’œ


This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself πŸͺ✨


And that's the whole page, bestie β€” go forth and init something beautiful πŸŒˆπŸ¦‹

perl v5.40.1 β€” 2025-04-21 β€” App::Pinto::Command::init πŸ’– mwah, talk later! πŸ’…πŸŽ€

πŸ“¦ where this page comes from