@contentstack/cli-cm-clone
It is Contentstack’s CLI plugin to clone a stack. Using this command, you can export a stack’s content/schema to a new or existing stack. Refer to the Clone a Stack documentation to learn more.
Usage
$ npm install -g @contentstack/cli-cm-clone
$ csdx COMMAND
running command...
$ csdx (-v|--version|version)
@contentstack/cli-cm-clone/0.1.0-beta-1 darwin-x64 node-v13.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
...
$ npm install -g @contentstack/cli-cm-clone
$ csdx COMMAND
running command...
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
...
Commands
csdx cm:stack-clone
This command allows you to migrate data (structure or content or both) from one stack to another stack (either new or existing)
USAGE
$ csdx cm:stack-clone
DESCRIPTION
...
Use this plugin to automate the process of cloning a stack in a few steps.
EXAMPLE
csdx cm:stack-clone
See code: src/commands/cm/stack-clone.js