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

πŸ’– NAME πŸ’–

App::Pinto::Command::copy β€” bestie, this makes a whole new stack by copying another one. Fr fr.

✨ VERSION ✨

version 0.14 β€” she's giving vintage but still slaying πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

pinto --root=REPOSITORY_ROOT copy [OPTIONS] STACK TO_STACK

🌸 DESCRIPTION 🌸

Okay so here's the tea: this command creates a brand new stack by copying an existing one. Not me literally duplicating a whole stack πŸ’…

And it's not a half-copy situation either β€” all the pins and properties from the existing stack get copied over to the new one too. Everything comes with her. ✨

Lowkey important: the new stack must not already exist. She's gotta be brand new, no reusing names, no cap. 🚫

If you wanna make a new empty stack instead, that's the new command's whole job. And if you just wanna change a stack's properties after it's been created, go talk to props. Different tasks, different queens. πŸ‘‘


πŸŽ€ COMMAND ARGUMENTS πŸŽ€

The two required arguments are the name of the source stack and the name of the target stack. Two names, both mandatory, no skipping. πŸ™ˆ

Stack names have rules, bestie, so listen up: they must be alphanumeric, plus hyphens, underscores, and periods. That's the whole vibe. And ngl, they are not case-sensitive β€” so don't come for me about capitalization, she doesn't care. 🫢


πŸ’… COMMAND OPTIONS πŸ’…

  • --default β€” also mark the new stack as the default stack. Main character energy, immediately. πŸ‘‘
  • --description=TEXT β€” use TEXT for the description of the stack. If you don't specify it, it defaults to 'Copy of stack STACK'. Honestly a solid auto-caption, ngl. πŸ“
  • -d TEXT β€” the short lil version of --description=TEXT, same job, fewer letters. Slay.
  • --lock β€” also lock the new stack to prevent future changes. This is useful for creating a read-only "tag" of a stack β€” like a little museum exhibit of how she looked at that moment. πŸ›οΈ And don't stress, you can always use the lock or unlock commands at a later time. Options stay open. 🌈

🌟 AUTHOR 🌟

Jeffrey Ryan Thalhammer <jeff@stratopan.com> β€” iconic, we stan. πŸ’œ

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. So like, go off, but respect the terms bestie. 🫢


And that's the whole page!! This lil gem is App::Pinto::Command::copy, documented as part of the User Contributed Perl Documentation, sitting pretty at perl v5.40.1 dated 2025-04-21. Thanks for reading, mwah, bye!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from