JSPM

  • Created
  • Published
  • Downloads 124
  • Score
    100M100P100Q66723F
  • License MIT

Flawless CLI management of build pipelines & asset deployments for your front-end apps powered by Warehouse.ai.

Package Exports

  • wrhs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wrhs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wrhs CLI for Warehouse.ai

Flawless CLI management of build pipelines & asset deployments for your front-end apps powered by Warehouse.ai.

Configuration

wrhs configuration can be passed in via CLI flags (more information on this below), or by creating a configuration file at ~/.wrhs.

Example .wrhs file:

{
  "hosts": {
    "wrhs": "warehouse.ai",
    "status": "warehouse-status.ai"
  },
  "auth": {
    "user": "username",
    "pass": "password"
  }
}

License

Usage

$ npm install -g wrhs
$ wrhs COMMAND
running command...
$ wrhs (-v|--version|version)
wrhs/0.3.1 darwin-x64 node-v10.14.1
$ wrhs --help [COMMAND]
USAGE
  $ wrhs COMMAND
...

Commands

wrhs get:build PACKAGE ENV [LOCALE]

Gets information about builds that exist in warehouse.

USAGE
  $ wrhs get:build PACKAGE ENV [LOCALE]

ARGUMENTS
  PACKAGE  The package to get builds for
  ENV      The environment to get builds for
  LOCALE   The specific locale to fetch. Defaults to en-US

OPTIONS
  -h, --host=host                The base url for the warehouse API
  -j, --json                     Output response data as JSON
  -p, --pass=pass                Password
  -s, --status-host=status-host  The base url for the warehouse status API
  -u, --user=user                Username

DESCRIPTION
  If no version is specified, the head version will be returned.

See code: src/commands/get/build.js

wrhs get:head PACKAGE ENV

Shows information about the head build for the given package in the given environment.

USAGE
  $ wrhs get:head PACKAGE ENV

ARGUMENTS
  PACKAGE  The package to get the head build for
  ENV      The environment to get the head build for

OPTIONS
  -h, --host=host                The base url for the warehouse API
  -j, --json                     Output response data as JSON
  -p, --pass=pass                Password
  -s, --status-host=status-host  The base url for the warehouse status API
  -u, --user=user                Username

DESCRIPTION
  Accepts an optional locale.

See code: src/commands/get/head.js

wrhs get:status PACKAGE ENV

Get information about the status of a build.

USAGE
  $ wrhs get:status PACKAGE ENV

ARGUMENTS
  PACKAGE  The package to get status information for
  ENV      The environment to get status information for

OPTIONS
  -e, --events                   Should status events be fetched. Defaults to false
  -h, --host=host                The base url for the warehouse API
  -j, --json                     Output response data as JSON
  -l, --locale=locale            Only get events for a specific locale
  -p, --pass=pass                Password
  -s, --status-host=status-host  The base url for the warehouse status API
  -u, --user=user                Username

DESCRIPTION
  -e can be used to get the more granular status events.

See code: src/commands/get/status.js

wrhs help [COMMAND]

display help for wrhs

USAGE
  $ wrhs help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help