
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@contentstack/cli-cm-bootstrap
Advanced tools
Contentstack CLI’s “Bootstrap” plugin enables you to automate the process of setting up projects for sample and starter apps in Contentstack.
This means that all the required steps such as stack, environment, and content type creation, entry and asset publishing are performed just by using a single command.
$ npm install -g @contentstack/cli-cm-bootstrap
$ csdx COMMAND
running command...
$ csdx (-v|--version|version)
@contentstack/cli-cm-bootstrap/1.1.3 darwin-arm64 node-v18.11.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
...
$ npm install -g @contentstack/cli-cm-clone
$ csdx COMMAND
running command...
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
...
csdx cm:bootstrap
Bootstrap contentstack apps
USAGE
$ csdx cm:bootstrap
OPTIONS
-k, --stack-api-key=stack-api-key Provide stack API key to seed content
-n, --stack-name=stack-name Name of a new stack that will be created.
-y, --yes=yes
--app-name=app-name App name, reactjs-starter, nextjs-starter, gatsby-starter, angular-starter,
nuxt-starter, vue-starter, stencil-starter
--org=org Provide organization UID to create a new stack
--project-dir=project-dir Directory to setup the project. If directory name has a space then provide the path
as a string or escap the space using back slash eg: "../../test space" or
../../test\ space
EXAMPLES
$ csdx cm:bootstrap
$ csdx cm:bootstrap --project-dir <path/to/setup/the/app>
$ csdx cm:bootstrap --app-name "reactjs-starter" --project-dir <path/to/setup/the/app>
$ csdx cm:bootstrap --app-name "reactjs-starter" --project-dir <path/to/setup/the/app> --stack-api-key "stack-api-key"
$ csdx cm:bootstrap --app-name "reactjs-starter" --project-dir <path/to/setup/the/app> --org "your-org-uid"
--stack-name "stack-name"
See code: src/commands/cm/bootstrap.ts
FAQs
Bootstrap contentstack apps
The npm package @contentstack/cli-cm-bootstrap receives a total of 4,056 weekly downloads. As such, @contentstack/cli-cm-bootstrap popularity was classified as popular.
We found that @contentstack/cli-cm-bootstrap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.