Skip to content

Commit 1333173

Browse files
committed
docs: update cli options
1 parent e0cf74a commit 1333173

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,20 @@ $ npm install -D @7nohe/openapi-react-query-codegen
1818
```
1919
$ openapi-rq --help
2020
21-
Usage: openapi-rq [options]
22-
23-
Generate React Query code based on OpenAPI
24-
25-
Options:
26-
-V, --version output the version number
27-
-p, --path <path> Path to OpenAPI file
28-
-o, --output-dir [directory] Directory to output the generated package (default: "openapi")
29-
-h, --help display help for command
21+
Usage: openapi-rq [options]
22+
23+
Generate React Query code based on OpenAPI
24+
25+
Options:
26+
-V, --version output the version number
27+
-i, --input <value> OpenAPI specification, can be a path, url or string content (required)
28+
-o, --output <value> Output directory (default: "openapi")
29+
-c, --client <value> HTTP client to generate [fetch, xhr, node, axios, angular] (default: "fetch")
30+
--exportSchemas <value> Write schemas to disk (default: false)
31+
--indent <value> Indentation options [4, 2, tabs] (default: "4")
32+
--postfix <value> Service name postfix (default: "Service")
33+
--request <value> Path to custom request file
34+
-h, --help display help for command
3035
```
3136

3237
## Example Usage

0 commit comments

Comments
 (0)