@jrni/jrni-cli
v0.5.0
Published
JRNI Apps CLI
Downloads
4
Readme
jrni-cli
Installation
Requires node 14. See Downloading and installing Nodejs and npm
npm install -g @jrni/jrni-cli
If you see permission errors when trying to install see Resolving EACCES permissions errors when installing packages globally
Options
Options may be passed with flags, however you will be prompted to enter any missing required options.
The options will be stored in the project directory in .bbugrc
. This avoids the need to
re-enter options upon re-triggering commands for a given app project.
Versions of the cli vs server versions
In version version5.17 of the JRNI engine, a new parameter was added to the api upon install of an extensibility application. It optionally allows you to keep the configuration of the application. This feature was added to v5.17+ of the JRNI BE engine and v0.1.2 of the cli.
In short if the version of the engine is below 5.17 use v0.1.0 of the cli. If above 5.17 use v0.1.2+.
Commands
Install
Builds and installs an app package to the BookingBug engine. Run the command in the Jext app project directory.
jrni-cli install [options]
Options:
Uninstall
Removes an app package from the BookingBug engine.
jrni-cli uninstall [options]
Options:
Tail
Display the script logs for an app package.
jrni-cli tail [options]
Options:
Release
Release a new version of the application to the central app repo. This feature is only available if you have an account as a central app deployer to install apps into the central app listing repo
jrni-cli release
This relies on setting two env variables which is your central app repo account login (not the login to a specific client box):
APP_INSTALL_EMAIL: App install email address APP_INSTALL_PASSWORD: App install password