This is an experimental command and is likely subject to change in the future.
clone command clones stacks and nested stacks from a source to a target directory. Terramate will recursively copy the stack files and directories, and automatically update the
stack.id with generated UUIDs for the cloned stacks.
The source directory can be a stack itself, or it can contain stacks in sub-directories.
--skip-child-stacks can be set to change this behavior, so stacks in sub-directories will be ignored; in this case, the source directory itself must be a stack.
terramate experimental clone [options] <source> <target>
Clone a stack
alice to target
terramate experimental clone stacks/alice stacks/bob
Clone all stacks within directory
terramate experimental clone stacks cloned-stacks