0.0.2 • Published 4 years ago

@gota/run-app v0.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

Gota Run App

A simple CLI tool for ensuring that a given script runs continuously.

Installing

  $ [sudo] npm i -g @gota/run-app

Usage

Help

  $ gota --help

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

Start

List All Apps

 $ gota list

EX: List

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 Stop

EX1: Stop

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

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