Skip to content

Commit

Permalink
[docs] add description for CLI optiions (#195)
Browse files Browse the repository at this point in the history
* chore: fix typo of CLI options description

* docs: add undocumented CLI options
  • Loading branch information
nokazn authored Nov 21, 2022
1 parent b2ef1b0 commit d4920b7
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,23 @@ $ npx openapi2aspida
```
## Cli options

### outputDit
### `-i`, `--input`

can chenge aspida output directory
path to an OpenAPI spec file for input

#### example
### `-o`, `--outputdir`

can change aspida output directory

### `-c`, `--config`

path to an aspida config file

### `--version`

displays version of openapi2aspida

### example

```bash
npx openapi2aspida -i=openApi/sample.yaml -o=lib/api/sample
Expand Down

0 comments on commit d4920b7

Please sign in to comment.