sakku
This is a sakku cli that makes world even better!
Last updated 17 days ago by e.keshtgar .
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.0 linux-x64 node-v8.10.0
$ sakku --help [COMMAND]
USAGE
  $ sakku COMMAND

Commands

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
  app:port      change app port
  app:stats     app realtime monitroing
  app:pipeline  create pipeline from docker-compose
  app:logs      app realtime logs
  app:exportlogs    app logs history
  app:commit    commit application container
  app:restart   restart application
  app:rebuild   rebuild application source

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:collab [APP]

Add new collaborators, as well as showing the list of collaborators

USAGE
  $ sakku app:collab [APP]

ARGUMENTS
  APP  app id/name

OPTIONS
  -a, --add
  -r, --delete
  -e, --edit
  -h, --help    show CLI help

EXAMPLES
  $ sakku app:collab
  $ sakku app:collab -a

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

sakku app:deploy

deploy app

USAGE
  $ sakku app:deploy

OPTIONS
  -a, --app=app  app name

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

sakku app:logs [APP]

Shows logs of an app

USAGE
  $ sakku app:logs [APP]

ARGUMENTS
  APP  app id/name

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku app:logs

See code: src\commands\app\logs.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 [APP]

scale app

USAGE
  $ sakku app:scale [APP]

ARGUMENTS
  APP  app id/name

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sakku app:scale
  Enter your app id: APP-ID
  Enter your new Configuration

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 app:stats [APP]

realtime app monitoring

USAGE
  $ sakku app:stats [APP]

OPTIONS
  -h, --help  show CLI help
  -a, --app   app ID

EXAMPLE
  $ sakku app:stats
     Enter your app-id: APP-ID
     Connection established successfully.
     show app stats realtime

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

sakku app:pipeline [APP]

create pipeline from docker-compose

USAGE
  $ sakku app:pipeline

OPTIONS
  -h, --help  show CLI help
  -f, --file  docker-compose file path

EXAMPLE
  $ sakku app:pipeline
     Enter your docker compose file: FILE-PATH
     Applications configiguration review ...
     
     Do you want to continue pipeline creation of these applications? (y or n):
     Pipeline applications are being created!

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

sakku app:exportlogs [APP] [FROM] [TO] [FILE-DIR]

show / (export to a text file) logs history of an app

USAGE
  $ sakku app:exportlogs [APP]

OPTIONS
  -h, --help  show CLI help
  -a, --app   app ID
  -f, --from  from Date
  -t, --to    to Date
  -d, --dir   File Directory

EXAMPLE
  $ sakku app:exportlogs
     Enter app id:: APP-ID
     Enter from date in yyyy/mm/dd | yyyy/mm/dd H:i:s format (Georgian): FROM-DATE
     Enter to date in yyyy/mm/dd | yyyy/mm/dd H:i:s format (Georgian): TO-DATE
     Enter log file directory without file name: (**hint: If you want to save logs in a file, fill this field else skip it!): FILE-DIR

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

sakku app:commit [AppID]

Commit application container

USAGE
  $ sakku app:commit 

OPTIONS
  -h, --help  show CLI help
  -a, --app     app ID
  -c, --cid     Container ID
  -t, --tag     TAG
  -r, --isRestart

EXAMPLE
  $ sakku image:commit
        Enter your app id : APP-ID
        Enter container id : CONTAINER-ID
        Change restart image to this image? : (y/n)
        Enter version of application : TAG

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

sakku app:restart [AppId]

Restart application by id

USAGE
  $ sakku app:restart 

OPTIONS
  -h, --help  show CLI help
  -a, --app     app ID
  -c, --cstop   {Commit app before stopping}
  -t, --tstop   TAG-STOP {Tag for commited app}
  -s, --cstart  {Start app from specific version}
  -v, --tstart  TAG-START

EXAMPLE
  $ sakku image:restart
      Enter your app id : APP-ID
      Do you want to commit this application before stopping it? : (y/n)
      Enter tag for stopped application : TAG-STOP
      Do you want to start this application from specific version? : (y/n)
      Enter version of application you want to start from : TAG-START

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

sakku app:rebuild -a [AppId] -b [buildArgs]

rebuild application source

USAGE
  $ sakku app:rebuild 

OPTIONS
  -h, --help  show CLI help
  -a, --app     app ID
  -b, --build-args   

EXAMPLE
      $ sakku app:rebuild
      Enter your app id : APP-ID
      Enter build Arguments : BUILD-ARGS

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

sakku catalog

List all different Program Catalogs

USAGE
  $ sakku catalog

OPTIONS
  -a, --add   show CLI help
  -h, --help  show CLI help

EXAMPLES
  $ sakku catalog
  $ sakku catalog -a

See code: src\commands\catalog.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

Shows username or complete user info and stats

USAGE
  $ sakku whoami

OPTIONS
  -c, --complete
  -h, --help      show CLI help

EXAMPLES
  $ sakku whoami
  $ sakku whoami -c

See code: src\commands\whoami.ts

sakku help

help!

USAGE
  $ sakku help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

Current Tags

  • 0.3.0                                ...           latest (17 days ago)

11 Versions

  • 0.3.0                                ...           17 days ago
  • 0.2.1                                ...           2 months ago
  • 0.2.0                                ...           2 months ago
  • 0.1.0                                ...           10 months ago
  • 0.0.11                                ...           10 months ago
  • 0.0.10                                ...           10 months ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
  • 0.0.0                                ...           a year ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 12
Dependencies (29)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |