npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

testsha-cm-clone

v1.1.4

Published

Contentstack stack clone plugin

Downloads

4

Readme

testsha-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 testsha-cm-clone
$ csdx COMMAND
running command...
$ csdx (-v|--version|version)
testsha-cm-clone/1.1.4 linux-x64 node-v16.18.1
$ csdx --help [COMMAND]
USAGE
  $ csdx COMMAND
...
$ npm install -g testsha-cm-clone
$ csdx COMMAND
running command...
$ csdx --help [COMMAND]
USAGE
  $ csdx COMMAND
...

Commands

csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]

Clone data (structure/content or both) of a stack into another stack

USAGE
  $ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] 
  [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] 
  [--destination-stack-api-key <value>] [--import-webhook-status disable|current]

OPTIONS
  -n, --stack-name=stack-name                                              Name for the new stack to store the cloned
                                                                           content.

  -y, --yes                                                                [optional] Override marketplace prompts

  --destination-management-token-alias=destination-management-token-alias  Source API key of the target stack token
                                                                           alias.

  --destination-stack-api-key=destination-stack-api-key                    Destination stack API Key

  --import-webhook-status=disable|current                                  [default: disable] Webhook state

  --source-branch=source-branch                                            Branch of the source stack.

  --source-management-token-alias=source-management-token-alias            Source API key of the target stack token
                                                                           alias.

  --source-stack-api-key=source-stack-api-key                              Source stack API Key

  --target-branch=target-branch                                            Branch of the target stack.

  --type=a|b                                                               Type of data to clone
                                                                           a) Structure (all modules except entries &
                                                                           assets)
                                                                           b) Structure with content (all modules
                                                                           including entries & assets)

DESCRIPTION
  Use this plugin to automate the process of cloning a stack in few steps.

ALIASES
  $ csdx cm:stack-clone

EXAMPLES
  csdx cm:stacks:clone
  csdx cm:stacks:clone --source-branch <source-branch-name> --target-branch <target-branch-name> --yes
  csdx cm:stacks:clone --source-stack-api-key <apiKey> --destination-stack-api-key <apiKey>
  csdx cm:stacks:clone --source-management-token-alias <management token alias> --destination-management-token-alias 
  <management token alias>
  csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> 
  --destination-management-token-alias <management token alias>
  csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> 
  --destination-management-token-alias <management token alias> --type <value a or b>