Sakku cli is trying to make real world even a better place!
$ 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
sakku help [COMMAND]
sakku zone:get
sakku zone:set
sakku login
sakku exec APP [CMD]
sakku whoami
sakku catalog
sakku app:add
sakku app:collab [APP]
sakku app:deploy
sakku app:logs
sakku app:exportlogs
sakku app:ps
sakku app:rm
sakku app:scale
sakku app:stop
sakku app:port
sakku app:stats
sakku app:commit
sakku app:restart
sakku app:rebuild
sakku app:pipeline
sakku app:healthcheck:all
sakku app:healthcheck:create
sakku app:healthcheck:rm
sakku domain:all
sakku domain:add
sakku domain:app
sakku domain:rm
sakku domain:record:all
sakku domain:record:add
sakku domain:record:update
sakku domain:record:rm
sakku network:all
sakku network:create
sakku network:addapp
sakku network:rm
sakku network:rmapp
sakku image:build
sakku image:ps
sakku image:share
manage all apps
USAGE
$ sakku app:COMMAND
COMMANDS
app:add add new app
app:deploy deploy app
app:ps showing all [running/stopped] 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
add new app
USAGE
$ sakku app:add
OPTIONS
-h, --help show CLI help
See code: src\commands\app\add.ts
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
deploy app
USAGE
$ sakku app:deploy
OPTIONS
-a, --app=app app name
See code: src\commands\app\deploy.ts
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
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
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
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
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
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
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
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
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
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
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
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
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
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
get datacenter zone
USAGE
$ sakku zone:get
OPTIONS
-h, --help show CLI help
EXAMPLE
$ sakku zone:get
- Khatam University Datacenter in Tehran
See code: src\commands\zone\get.ts
set datacenter zone to Khatam University Datacenter in Tehran or Serverius Datacenter in holland
USAGE
$ sakku zone:set
OPTIONS
-h, --help show CLI help
-z, --zone khatam | serverius set zone to khatam or serverius
EXAMPLE
$ sakku zone:set
? Choose datacenter zone : (Use arrow keys)
> serverius : Serverius Datacenter in holland
khatam : Khatam University Datacenter in Tehran
See code: src\commands\zone\set.ts
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
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
help!
USAGE
$ sakku help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI