wrhs
Flawless CLI management of build pipelines & asset deployments for your front-end apps powered by Warehouse.ai.
Last updated 4 months ago by fritzmonkey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install wrhs 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.3.1                                ...           latest (4 months ago)

7 Versions

  • 0.3.1                                ...           4 months ago
  • 0.3.0                                ...           6 months ago
  • 0.2.0                                ...           7 months ago
  • 0.1.0                                ...           8 months ago
  • 0.0.2                                ...           9 months ago
  • 0.0.1                                ...           9 months ago
  • 0.0.0                                ...           9 months ago
Downloads
Today 0
This Week 8
This Month 16
Last Day 0
Last Week 8
Last Month 1
Dependencies (9)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |