0.7.5 • Published 7 years ago

ehcli v0.7.5

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Deployer

Employment Hero CLI

CircleCI Airbnb-js-style

A CLI application to interact with Employment Hero microservices infrastructure.

Installation:

  • Using npm : npm install -g ehcli
  • Using yarn: yarn global add ehcli

Usages:

  Usage: hero [options] [command]


  Commands:

    apps:list|apps [options]                            list your apps
    apps:info|info [options]                            show detailed app information
    apps:status|status [options]                        show app deployment status
    apps:create|create [options] <name> <chart>         create a new app definition based on chart and push to Firebase
    apps:setup|setup [options] <manifest>               setup app for the first time based on provided manifest (app.json)
    apps:init|init [options] <manifest>                 initialize app based on provided manifest (app.json).This replaces repo:create + app:create + app:setup.
    apps:restart|restart [options]                      restart app
    apps:scale|scale [options] <key=value> [others...]  scale an app
    releases:list|releases [options]                    display the releases for an app
    releases:rollback|rollback [options]                rollback a release of an app to a certain revision
    config:get|config [options] [key]                   display the config vars for an app
    config:set [options] <key=value> [others...]        set one or more config vars
    config:unset [options] <key>                        unset a config var
    version                                             print the client/server version information
    logs [options]                                      display recent log output
    ci:build|build [options] <manifest>                 build docker image based on provided manifest (app.json)
    ci:push|push [options] <manifest>                   push docker image based on provided manifest (app.json)
    ci:pull|pull [options] <manifest>                   pull docker image based on provided manifest (app.json)
    ci:deploy|deploy [options] <manifest>               deploy new version based on provided manifest (app.json)
    manifest:validate <manifest>                        validate a manifest file (app.json)
    manifest:get <manifest> <jsonPath>                  get a field from manifest file (app.json)
    auth:login|login [options]                          login with your Github credentials
    auth:logout|logout                                  clear local authentication credentials
    auth:token|token                                    display your api token
    auth:whoami|whoami                                  display your account details
    run [options] <command> [args...]                   run a one-off process inside a Kubernetes container
    procs:list|procs [options]                          list your app's procs
    repos:create <name>                                 create a new repo in Amazon EC2 Container Registry
    files:add [options] <name> <filepath>               add a file
    files:rm [options] <name>                           remove a file
    slack:notify <channel> <text>                       send notification to slack channel
    endpoints:list|endpoints [options]                  list your endpoints
    endpoints:create [options] <manifest>               create an endpoint in Kong (app.json)
    help                                                output usage information

  Options:

    -h, --help     output usage information
        --dry-run  simulate the command

  Examples:

    $ hero apps:list --context $STAGING_CLUSTER                          # list all apps
    $ hero apps --context $STAGING_CLUSTER                               # same as above, apps is an alias for apps:list
    $ hero config:get -a announcement-api --context $STAGING_CLUSTER     # get all env config for app announcement-api
0.7.5

7 years ago

0.7.4

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.27

7 years ago

0.6.24

7 years ago

0.6.23

7 years ago

0.6.22

7 years ago

0.6.21

7 years ago

0.6.20

7 years ago

0.6.17

7 years ago

0.6.16

7 years ago

0.6.15

8 years ago

0.6.14

8 years ago

0.6.13

8 years ago

0.6.12

8 years ago

0.6.10

8 years ago

0.6.9

8 years ago

0.6.8

8 years ago

0.6.7

8 years ago

0.6.6

8 years ago

0.6.5

8 years ago

0.6.4

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.5.11

8 years ago

0.5.10

8 years ago

0.5.9

8 years ago

0.5.7

8 years ago

0.5.6

8 years ago

0.5.4

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.15

8 years ago

0.4.13

8 years ago

0.4.12

8 years ago

0.4.11

8 years ago

0.4.10

8 years ago

0.4.9

8 years ago

0.4.8

8 years ago

0.4.6

8 years ago

0.4.5

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

9 years ago

0.4.0-beta3

9 years ago

0.4.0-beta2

9 years ago

0.4.0-beta1

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago