npm install -g @stefanodilegamisunzinet/sunzinet-cli
Initialize a new CMS integration with either Storyblok or Contentful:
sunzinet cms init --template <template> [--name <app-name>]
-
-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"
# 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 contentful
Initialize a new CMS integration:
sunzinet cms init [options]
-
-t, --template <template>
: Choose the CMS template (storyblok/contentful/typo3) -
-n, --name <name>
: Specify the application name
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
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 changes
-
Publish to npm:
npm publish --access=public
Note: You need to be logged in to npm and have access to the @stefanodilegamisunzinet organization to publish.