NAME

App::Pinto::Command::copy - create a new stack by copying another

VERSION

version 0.054

SYNOPSIS

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

DESCRIPTION

This command creates a new stack by copying an existing one. All the pins and properties from the existing stack will also be copied to the new one. The new stack must not already exist.

Please see the new command to create a new empty stack, or the edit command to change a stack's properties after it has been created.

COMMAND ARGUMENTS

The two required arguments are the name of the source and target stacks. Stack names must be alphanumeric plus hyphens and underscores, and are not case-sensitive.

COMMAND OPTIONS

--default

Also mark the new stack as the default stack.

--description=TEXT
-d TEXT

Use TEXT for the description of the stack. This is usually used to help explain the purpose of the stack.

--message=TEXT
-m TEXT

Use TEXT as the revision history log message. If you do not use the --message option or the --use-default-message option, then you will be prompted to enter the message via your text editor. Use the EDITOR or VISUAL environment variables to control which editor is used.

--use-default-message
-M

Use the default value for the revision history log message. Pinto will generate a semi-informative log message just based on the command and its arguments. If you set an explicit message with --message, the --use-default-message option will be silently ignored.

AUTHOR

Jeffrey Thalhammer <jeff@imaginative-software.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Imaginative Software Systems.

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