1.0.0 • Published 6 years ago
hellokittyrandomstring v1.0.0
Kentico Kontent CLI
Command line interface tool that can be used for generating and running Kontent migration scripts. Prior to the run on production environment, migrations should be tested on another environment, see Managing projects in multiple environments.
Installation
npm install -g kontent-cliUsage
Use the --help parameter to display the help section for CLI tool
kontent-cli --helpor combined with a specific command to get the help section for that command.
kontent-cli add-migration --helpKontent CLI commands
- add-migration - Generates the typescript template for Kontent migration. The migration script should be added into the body of the
runfunction using the Kontent management javascript SDK that was injected viaapiClientparameter. - run-migration - Runs migration by its name or run multiple migrations by the order.
- add-environment - Creates an environment to run migrations on.
1.0.0
6 years ago