## 安装

> 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 <port>  端口号
    -f, --file <file>  指定打开yaml文件

```