CLI Reference
A list of all CLI commands for BPM.
Shows a list of commands or provides more information about a specific command.
These commands are for use in developing a new BPM project.
Create a new BPM project. If the directory does not exist, it will be created.
Options:
- --name=NAME Specify a different name for the project.
- --skip Skip any conflicting files.
- --app Manage app files as well as packages. (Always true for new directories.)
Add a new dependency to a BPM project. This will update the project JSON and download the package.
Options:
- -v, --version=VERSION Specify a specific version to install
- -p, --project=PROJECT Specify project location other than working directory
- --pre, --prerelease Install a prerelease version
- --dev, --development Add as a development dependency
- -m, --mode=MODE Build mode for compilation - Default: production
Remove a dependency from a BPM project. This will update the project JSON.
Option:
- -p, [--project=PROJECT] Specify project location other than working directory
- -m, [--mode=MODE] Build mode for compilation - Default: production
Rebuild all project assets and dependencies. This allows the index.html to be loaded without a server for use in deployment.
Option:
- -m, --mode=MODE Build mode for compilation - Default: production
- -p, --project=PROJECT Specify project location other than working directory
- -u, --update Updates dependencies to latest compatible version
A live preview server for use in development. Equivalent to running bpm rebuild
after
every change.
Options:
- -m, --mode=MODE Build mode for compilation - Default: debug
- -p, --project=PROJECT Specify project location other than working directory
- --port=PORT Port to host server on - Default: 4020
These commands are for use in developing a new package for BPM.
Log in to your GetBPM.org account.
Options:
- -u, --username=USERNAME Specify the username to login as
- -p, --password=PASSWORD Specify the login password
Bundle your package for distribution.
Options:
- -e, [--email=EMAIL] Specify an author email address
Push your package to GetBPM.org.
Remove a version of your package from GetBPM.org.
Options:
- -v, --version=VERSION Specify a version to yank
- --undo Unyank package
This is a group of commands for managing package ownership.
List all owners for the package.
Give permission for another user to manage you package.
Remove a user's permission to manage your package.
Display various options for debugging.
- build - Shows all project build settings
- repair - Verify and repair project
Options:
- -p, --project=PROJECT Specify project location other than working directory
- -m, --mode=MODE Build mode - Default: debug
Fetch a bpm package to the local cache. Called by bpm add
you shouldn't
ever need to use this directly.
Options:
- -v, --version=VERSION Specify a version to install - Default: >= 0
- --pre, --prerelease Install a prerelease version
List all locally cached packages. Normally you won't have to worry about this.
By default lists all packages used by a project.
Options:
- -r, [--remote] Lists packages available on GetBPM.org.
- -a, [--all] Lists all versions available. (Useable with --remote only.)
- --pre, [--prerelease] Lists available pre-release versions. (Useable with --remote only.)
- --dev, [--development] Lists development dependencies for a project. (Local project only.)
Extracts files from a bundled package (.bpkg).
Options:
- -t, --target=TARGET Unpack to given directory - Default: Current Directory