@sunzinet-org/cli

0.1.0 • Public • Published

Installation

npm install -g @stefanodilegamisunzinet/sunzinet-cli

CMS 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
  • -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 contentful

Usage

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:

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Start development mode:
    npm run dev
  4. Link the CLI locally:
    npm link
  5. To uninstall/unlink the CLI:
    npm unlink @stefanodilegamisunzinet/sunzinet-cli -g

Publishing

To publish a new version to npm:

  1. Update version in package.json:

    npm version patch  # for bug fixes
    npm version minor  # for new features
    npm version major  # for breaking changes
  2. 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.

Readme

Keywords

Package Sidebar

Install

npm i @sunzinet-org/cli

Weekly Downloads

221

Version

0.1.0

License

MIT

Unpacked Size

11.3 kB

Total Files

5

Last publish

Collaborators

  • sunzinet
  • kalkame
  • rossowro
  • eyecatchup
  • bintzikke
  • kajetan.zyskowski
  • stefanodilegamisunzinet