It also provide a command line utility to create and update Bkper Apps and Bots
1) Add the package:
npm i -S bkper
yarn add bkper
login- Logs the user in. Saves the client credentials to a
logout- Logs out the user by deleting client credentials.
app -c- Create a new App based on
app -u- Update an existing App based on
app command uses the following environment variables in order to perform App create/update operations:
BKPER_API_KEY=XXXX BKPER_CLIENT_SECRET=YYYY BKPER_USER_EMAILS="firstname.lastname@example.org email@example.com" BKPER_DEVELOPER_EMAILfirstname.lastname@example.org
You can add a
.env file at the root of your project with those variables and bkper will automatically load from it.
WARNING: Never upload variables to the source code repository.