1.0.0 • Published 4 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-cli
Usage
Use the --help
parameter to display the help section for CLI tool
kontent-cli --help
or combined with a specific command to get the help section for that command.
kontent-cli add-migration --help
Kontent CLI commands
- add-migration - Generates the typescript template for Kontent migration. The migration script should be added into the body of the
run
function using the Kontent management javascript SDK that was injected viaapiClient
parameter. - 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
4 years ago