Skip to content

Commit 31886a3

Browse files
committed
chore: update cli
1 parent 77795ad commit 31886a3

File tree

6 files changed

+950
-255
lines changed

6 files changed

+950
-255
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"sideEffects": false,
1919
"bin": {
20-
"bin-cli": "./bin/cli.mjs"
20+
"swagger-typescript-api-es": "./bin/cli.mjs"
2121
},
2222
"files": [
2323
"bin",
@@ -28,7 +28,7 @@
2828
"scripts": {
2929
"build": "unbuild",
3030
"dev": "unbuild --stub",
31-
"test:cli": "node ./dist/cli.mjs -w -p 1234 -c awesome",
31+
"test:cli": "esno src/cli.ts -u http://localhost:5002/api-json -o ./play -n api-cli.ts --httpClientType axios",
3232
"lint": "eslint --ext .ts,.tsx src --color",
3333
"start": "esno play/test.ts",
3434
"test": "vitest",
@@ -79,6 +79,8 @@
7979
"prettier": "^3.2.5",
8080
"swagger-schema-official": "^2.0.0-bab6bed",
8181
"swagger2openapi": "^7.0.8",
82-
"typescript": "^5.3.3"
82+
"typescript": "^5.3.3",
83+
"unprompts": "^1.0.11",
84+
"unreadconfig": "^0.0.13"
8385
}
8486
}

0 commit comments

Comments
 (0)