1.0.2 • Published 4 years ago

placepass-dibs-cli v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Placepass DIBS CLI

Installation

To install: npm i -g placepass-dibs-cli

Goal Functionality

  1. Display available environments
  2. 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.
  3. Display a list of users and which apps they are have reserved for a specific environment
  4. 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

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago