@zrhsh/wukong-cli 0.4.0 → 0.4.1
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/dist/cli.js +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -2177,7 +2177,7 @@ var initCommand = new Command3("init").description("Initialize configuration fil
|
|
|
2177
2177
|
|
|
2178
2178
|
// src/cli.ts
|
|
2179
2179
|
var program = new Command4();
|
|
2180
|
-
program.name("wukong-cli").description("Wukong CLI - TypeScript implementation").version("0.4.
|
|
2180
|
+
program.name("wukong-cli").description("Wukong CLI - TypeScript implementation").version("0.4.1").option("-d, --debug", "Enable debug mode (show HTTP requests)").hook("preAction", (thisCommand) => {
|
|
2181
2181
|
const options = thisCommand.opts();
|
|
2182
2182
|
if (options.debug === true) {
|
|
2183
2183
|
setDebugMode(true, true);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zrhsh/wukong-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Wukong CLI - TypeScript with auto token refresh",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"main": "./dist/index.js",
|
|
11
11
|
"bin": {
|
|
12
|
-
"wukong-cli": "
|
|
12
|
+
"wukong-cli": "dist/cli.js"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|