App::P...efault(3pm)
π App::Pinto::Command::default β the default command from the App::Pinto crew π
okay bestie, buckle up, because this is the page for App::Pinto::Command::default, which lives in the App::Pinto family of Perl modules and shows up in your manual as App::P...efault(3pm). It's version 0.14 and it is literally the little command that decides which stack runs the whole show. π
β¨ SYNOPSIS β¨
pinto --root=REPOSITORY_ROOT default [OPTIONS] [STACK]
π¦ DESCRIPTION π¦
So here's the vibe: this command marks the STACK you hand it as the default stack for the repository. And the way that works? The existing default stack β if there even is one β gets unmarked in the process. Out with the old, in with the new, no cap. π
Why do we care, you ask? Because the default stack is the one that most pinto commands reach for when nobody explicitly says which stack they want, whether by option or by argument. It's the main character of stacks. π
Now, if you pass the --none option instead of a STACK argument, then the default stack just gets unmarked (again, only if one exists β don't stress about a nonexistent one). And heads up: when a repository has no default stack, you will have to explicitly specify the stack as an option or argument for most pinto commands. No shortcuts, sorry bestie. π
Wanna see what stacks are even in the repository, and which one is currently the default? Use the stacks command. It's giving "look before you leap." π
π¨ BEWARE π¨
Think carefully before changing the default stack. This will dramatically affect all users of the repository, so it is wise to notify them well in advance. This is not a quiet little personal change, it's a whole-group-chat announcement moment. π£
π COMMAND ARGUMENTS π
- The argument is the name of the stack you wish to mark as the default. The stack must already exist β you can't crown a stack that isn't there yet, bestie. π
- A stack argument cannot be used when the
--noneoption is specified. Pick a lane. π
π COMMAND OPTIONS π
--noneβ Unmarks the default stack (if one exists). This option cannot be used when theSTACKargument is specified.
π AUTHOR π
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
π COPYRIGHT AND LICENSE π
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, fr fr β written for perl v5.40.1 and dated 2025-04-21. slay, go mark some stacks responsibly πβ¨
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms