@sunzinet-org/cli
v0.1.0
Published
SUNZINET CLI tools
Maintainers
Keywords
Readme
Installation
npm install -g @stefanodilegamisunzinet/sunzinet-cliCMS Integration
Initialize a new CMS integration with either Storyblok or Contentful:
sunzinet cms init --template <template> [--name <app-name>]Options
-t, --template <template>: Choose the CMS template (required)- Available templates:
storyblok,contentful
- Available templates:
-n, --name <name>: Specify the application name (optional)- If not provided, you'll be prompted to enter one
- Default: "my-cms-app"
Examples
# Initialize Storyblok integration with a specific name
sunzinet cms init --template storyblok --name my-storyblok-project
# Initialize Contentful integration (will prompt for name)
sunzinet cms init --template contentfulUsage
CMS Integration
Initialize a new CMS integration:
sunzinet cms init [options]Options
-t, --template <template>: Choose the CMS template (storyblok/contentful/typo3)-n, --name <name>: Specify the application name
Development
To contribute to this CLI:
- Clone the repository
- Install dependencies:
npm install - Start development mode:
npm run dev - Link the CLI locally:
npm link - To uninstall/unlink the CLI:
npm unlink @stefanodilegamisunzinet/sunzinet-cli -g
Publishing
To publish a new version to npm:
Update version in package.json:
npm version patch # for bug fixes npm version minor # for new features npm version major # for breaking changesPublish to npm:
npm publish --access=public
Note: You need to be logged in to npm and have access to the @stefanodilegamisunzinet organization to publish.
