@nelts/cli
nelts
命令行工具
Usage
在项目中安装工具
npm i @nelts/cli
Server commanders
Usage: nelts-server [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
dev [options]
start [options]
restart
stop
dev
Usage: dev [options]
Options:
-b, --base <base> project base dir<like package.json dirname> (default: ".")
-m, --max <max> how many process would you like to bootstrap (default: 0)
-c, --config <config> where is the config file which named nelts.config.<ts|js> (default: "nelts.config")
-p, --port <port> which port do server run at? (default: 8080)
-h, --help output usage information
start
Usage: start [options]
Options:
-b, --base <base> project base dir<like package.json dirname> (default: ".")
-m, --max <max> how many process would you like to bootstrap (default: 0)
-c, --config <config> where is the config file which named nelts.config.<ts|js> (default: "nelts.config")
-p, --port <port> which port do server run at? (default: 8080)
-h, --help output usage information
restart
Usage: restart [options]
Options:
-h, --help output usage information
stop
Usage: stop [options]
Options:
-h, --help output usage information
Client commanders
Usage: nelts [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
init [project]
init
Usage: init [options] [project]
Options:
-h, --help output usage information
License
Copyright (c) 2018-present, yunjie (Evio) shen