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 --none option is specified. Pick a lane. πŸ›‘

🌈 COMMAND OPTIONS 🌈

  • --none β€” Unmarks the default stack (if one exists). This option cannot be used when the STACK argument is specified.

πŸ’œ AUTHOR πŸ’œ

Jeffrey Ryan Thalhammer <jeff@stratopan.com>


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