Skip to content
On this page

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

CommandExampleDescription
<default>bakerinitialize CLI watchers and services
devbaker devsame as above baker default command
buildbaker buildbuild entry files into standalone html files for Camunda Tasklist
stopbaker stopstops Camunda Run server
helpbaker helpshow 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