@sdk-it/cli 0.31.2 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.js +14321 -43
- package/dist/index.js.map +4 -4
- package/dist/lib/cli.d.ts.map +1 -1
- package/dist/lib/commands/find-framework.d.ts +10 -0
- package/dist/lib/commands/find-framework.d.ts.map +1 -0
- package/dist/lib/commands/find-spec-file.d.ts +2 -0
- package/dist/lib/commands/find-spec-file.d.ts.map +1 -0
- package/dist/lib/commands/guess-default-package-name.d.ts +2 -0
- package/dist/lib/commands/guess-default-package-name.d.ts.map +1 -0
- package/dist/lib/commands/init.d.ts +4 -0
- package/dist/lib/commands/init.d.ts.map +1 -0
- package/dist/lib/find-framework.d.ts +10 -0
- package/dist/lib/find-framework.d.ts.map +1 -0
- package/dist/lib/generators/dart.d.ts +4 -14
- package/dist/lib/generators/dart.d.ts.map +1 -1
- package/dist/lib/generators/python.d.ts +2 -14
- package/dist/lib/generators/python.d.ts.map +1 -1
- package/dist/lib/generators/typescript.d.ts +5 -22
- package/dist/lib/generators/typescript.d.ts.map +1 -1
- package/dist/lib/types.d.ts +58 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# Install globally
|
|
9
|
-
npm install -g sdk-it
|
|
9
|
+
npm install -g @sdk-it/cli
|
|
10
10
|
|
|
11
11
|
# Or use with npx without installing
|
|
12
|
-
npx sdk-it
|
|
12
|
+
npx @sdk-it/cli
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
@@ -19,7 +19,7 @@ The CLI provides a simple way to generate SDKs from OpenAPI specifications
|
|
|
19
19
|
### Basic Command Structure
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npx sdk-it --spec <path-to-spec> --output <output-directory> [options]
|
|
22
|
+
npx @sdk-it/cli <language> --spec <path-to-spec> --output <output-directory> [options]
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
### Options
|