CLI
To run any command from the CLI you need to add a NPM Script or run the binary direct from your terminal, for the last option you first need to enter into the project directory into the terminal.
Example:
sh
$ npm run dev
sh
$ cd "your/project/path"
$ npx baker
Avaliable Commands
Command | Example | Description |
---|---|---|
<default> | baker | initialize CLI watchers and services |
dev | baker dev | same as above baker default command |
build | baker build | build entry files into standalone html files for Camunda Tasklist |
stop | baker stop | stops Camunda Run server |
help | baker help | show CLI commands and options |
Custom Config File
If you want to use a different config filename or put the config file into a custom directory, just add the option -c
or --config
to the dev command.
json
{
"scripts": {
"dev": "baker --config config/my-custom-config-file.js",
"build": "baker build",
"stop": "baker stop"
}
}
sh
$ npx baker --config config/my-custom-config-file.js