CLI utility for BlinkMobile's Mobility Platform
npm install -g @blinkmobile/cli @blinkmobile/bmp-cli
blinkm bmp --help # or, shorter bm bmp --help
Initial settings: scope => outputs the current scope and login status scope [<url>] => sets the current URL scope login => store credentials on this machine logout => remove credentials from this machine Getting work done: pull => download remote configuration to local files --prune => delete local files that are absent from remote deploy => update remote configuration to match local project --prune => delete remote interactions that are absent locally <file|glob> => update remote configuration matching these files Creating new interactions: create interaction <name> => creates a new hidden+active interaction locally --type=<type> => type can be "madl" (default), or "message" --remote => also create a remote placeholder
We recommend that you skim our suggested usage.
By default, this tool determines your project scope by reading the .blinkmrc.json file in the current working directory or its parent directory (or its parent's parent directory, etc). You may set this variable instead.
By default, this tool stores authentication data in the user's home directory. You may set this variable to control this location.
By default, this tool looks for the .blinkmrc.json file in the current working directory, and stores project files there, too. You may set this variable to control this location.