0.0.2 • Published 5 years ago
@gota/run-app v0.0.2
Gota Run App
A simple CLI tool for ensuring that a given script runs continuously.
Installing
$ [sudo] npm i -g @gota/run-appUsage
Help
$ gota --help
Start App
$ gota start -s <source> -p <port>or
$ gota start --source <source> --port <port>Options:
--help Show help [boolean]
-s, --source main script of app=> ex: /dev/index.js [string] [required]
-p, --port listener port => ex: 3000 [number] [required]Ex:
$ gota start --source scripts/template.js --port 3000
List All Apps
$ gota listEX:

Stop App
$ gota stop -i <id>or
$ gota stop --id <id>If you don't remember id, you don't need to put id.
$ gota stop --id <id>gota

EX1:

EX2: don't input id, there is a selection appeared.

select one of them and the selected app will be stopped.
