0.7.5 • Published 5 years ago

ehcli v0.7.5

Weekly downloads
1
License
MIT
Repository
-
Last release
5 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

5 years ago

0.7.4

5 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.27

6 years ago

0.6.24

6 years ago

0.6.23

6 years ago

0.6.22

6 years ago

0.6.21

6 years ago

0.6.20

6 years ago

0.6.17

6 years ago

0.6.16

6 years ago

0.6.15

6 years ago

0.6.14

6 years ago

0.6.13

6 years ago

0.6.12

6 years ago

0.6.10

7 years ago

0.6.9

7 years ago

0.6.8

7 years ago

0.6.7

7 years ago

0.6.6

7 years ago

0.6.5

7 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.5.11

7 years ago

0.5.10

7 years ago

0.5.9

7 years ago

0.5.7

7 years ago

0.5.6

7 years ago

0.5.4

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.15

7 years ago

0.4.13

7 years ago

0.4.12

7 years ago

0.4.11

7 years ago

0.4.10

7 years ago

0.4.9

7 years ago

0.4.8

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.4.0-beta3

7 years ago

0.4.0-beta2

7 years ago

0.4.0-beta1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago