1.0.2 • Published 4 years ago
placepass-dibs-cli v1.0.2
Placepass DIBS CLI
Installation
To install:
npm i -g placepass-dibs-cli
Goal Functionality
- Display available environments
- Reserve an environment and one or more apps (microservices). In the event of a successful reservation, it should also display if it is active or waiting to be released.
- Display a list of users and which apps they are have reserved for a specific environment
- Release a reservation from an environment
Usage
dibs token token Set the API token to be used by the CLI. This is required for any other commands to work.
dibs display Display all available environments.
dibs display --env env Display a specified environment, its apps. and its reservations.
dibs reserve ...apps --env env --desc description Create a reservation in the specified environment for the provided applications.
dibs users --env env Display reservations for an environment, grouped by users.
dibs release --env env --res reservation_id Release a reservation in an environment with the provided ID.
Shorthand for Argument Flags
--env => -e
--desc => -d
--res => -r