sakku
this is a sakku cli that makes world even better!
Last updated 2 months ago by e.shekari .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sakku 
SYNC missed versions from official npm registry.

SAKKU cli

Sakku cli is trying to make real world even a better place!

Version Downloads/week

Usage

$ npm install -g sakku
$ sakku COMMAND
running command...
$ sakku (-v|--version|version)
sakku/0.0.3 win32-x64 node-v10.15.3
$ sakku --help [COMMAND]
USAGE
  $ sakku COMMAND
...
$ npm install -g sakku
$ sakku COMMAND
running command...
$ sakku (-v|--version|version)
sakku/0.0.0 linux-x64 node-v8.10.0
$ sakku --help [COMMAND]
USAGE
  $ sakku COMMAND
...

Commands

sakku app:add

add new app

USAGE
  $ sakku app:add

OPTIONS
  -h, --help  show CLI help

See code: src\commands\app\add.ts

sakku app:deploy

deploy app

USAGE
  $ sakku app:deploy

OPTIONS
  -a, --app=app        app name
  -b, --binary=binary  executable binary file
  -i, --image=image    docker-image file
  -s, --source

See code: src\commands\app\deploy.ts

sakku app:ps

showing all [running/all] app

USAGE
  $ sakku app:ps

OPTIONS
  -a, --all   show all apps
  -h, --help  show CLI help

See code: src\commands\app\ps.ts

sakku app:rm

Remove app*

USAGE
  $ sakku app:rm

OPTIONS
  -f, --force
  -h, --help   show CLI help

EXAMPLE
  $ sakku app:rm
  Enter your app id: APP-ID
  are you really sure to remove? (y/n): y

See code: src\commands\app\rm.ts

sakku app:scale

scale app

USAGE
  $ sakku app:scale

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku app:scale
  Enter your app id: APP-ID
  Enter your app scale: 2
  please wait...... done!
  your app scaled to 2

See code: src\commands\app\scale.ts

sakku app:stop

stop app

USAGE
  $ sakku app:stop

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku app:stop
     Enter your app-id: APP-ID
     please wait...... stoped!
     your app (APP-ID) is stoped

See code: src\commands\app\stop.ts

sakku exec APP [CMD]

execute command on instance

USAGE
  $ sakku exec APP [CMD]

ARGUMENTS
  APP  app id/name
  CMD  [default: bash] command

OPTIONS
  -h, --help         show CLI help
  -i, --interactive
  -t, --tty

EXAMPLE
  $ sakku exec

See code: src\commands\exec.ts

sakku help [COMMAND]

display help for sakku

USAGE
  $ sakku help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sakku login

login to Sakku cli interface.

USAGE
  $ sakku login

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku login
  ? there is two way you can login: (Use arrow keys)
  ❯ Login by Username & Password
     Login by Browser

See code: src\commands\login.ts

sakku whoami

show user info and stats

USAGE
  $ sakku whoami

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku whoami

See code: src\commands\whoami.ts

sakku login

login to Sakku cli interface.

USAGE
  $ sakku login

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku login
  ? there is two way you can login: (Use arrow keys)
  ❯ Login by Username/Password
     Login by Browser

sakku whoami

login to Sakku cli interface.

USAGE
  $ sakku whoami

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku whoami
  |_user info
  |_user state

sakku app

manage all apps

USAGE
  $ sakku app:COMMAND

COMMANDS
  app:add     add new app
  app:deploy  deploy app
  app:ps      showing all [running/stoped] app
  app:rm      Remove app*
  app:scale   scale app
  app:stop    stop app

sakku app:add

add new app

USAGE
  $ sakku app:add

OPTIONS
  -h, --help  show CLI help

sakku app:deploy

deploy app


USAGE
  $ sakku app:deploy

OPTIONS
  -a, --app=app        app name
  -b, --binary=binary  executable binary file
  -i, --image=image    docker-image file
  -s, --source

sakku app:ps

showing all [running/all] app

USAGE
  $ sakku app:ps

OPTIONS
  -a, --all   show all apps
  -h, --help  show CLI help

sakku exec

execute command on app

USAGE
  $ sakku exec APP [CMD]

OPTIONS
  APP  app id/name
  CMD  [default: bash] command


EXAMPLE
  $ sakku exec -it app-id bash

sakku app:rm

remove app

USAGE
  $ sakku app:rm

OPTIONS
  -f, --force
  -h, --help   show CLI help

EXAMPLE
  $ sakku app:rm 
  Enter your app id: APP-ID
  are you really sure to remove? (y/n): y

sakku app:scale

scale app

USAGE
  $ sakku app:scale

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku app:scale
  Enter your app id: APP-ID
  Enter your app scale: 2
  please wait...... done!
  your app scaled to 2

sakku app:stop

stop app

USAGE
  $ sakku app:stop

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku app:stop
     Enter your app-id: APP-ID
     please wait...... stoped!
     your app (APP-ID) is stoped

sakku help

help!

USAGE
  $ sakku help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

Current Tags

  • 0.0.9                                ...           latest (2 months ago)

5 Versions

  • 0.0.9                                ...           2 months ago
  • 0.0.8                                ...           3 months ago
  • 0.0.2                                ...           4 months ago
  • 0.0.1                                ...           4 months ago
  • 0.0.0                                ...           4 months ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 0
Last Month 5
Dependencies (18)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |