> cnpm install -g cathay-swagger-client
npm install cathay-swagger-client> cnpm install -g cathay-swagger-client
> cathaySwagger [workingDir]
更多使用说明参见: cathaySwagger --help
``
Usage: cathaySwagger [options] [command] [workingDir]
Commands:
editor [workingDir] 启动swagger-editor, 默认为当前目录
ui [workingDir] 启动swagger-ui, 默认为当前目录
默认ui: [workingDir]
Options:
-h, --help output usage information
-V, --version output the version number
-s, --silent 静默模式,不自动打开浏览器
-p, --port
-f, --file
``