@zrhsh/wukong-cli 0.2.0 → 0.2.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 +1 -1
- package/wukong-cli.json.template +1 -1
package/dist/cli.js
CHANGED
|
@@ -2199,7 +2199,7 @@ var initCommand = new Command3("init").description("Initialize configuration fil
|
|
|
2199
2199
|
|
|
2200
2200
|
// src/cli.ts
|
|
2201
2201
|
var program = new Command4();
|
|
2202
|
-
program.name("wukong-cli").description("Wukong CLI - TypeScript implementation").version("0.2.
|
|
2202
|
+
program.name("wukong-cli").description("Wukong CLI - TypeScript implementation").version("0.2.1").option("--debug", "Enable debug mode (show HTTP requests)").hook("preAction", (thisCommand) => {
|
|
2203
2203
|
const options = thisCommand.opts();
|
|
2204
2204
|
if (options.debug === true) {
|
|
2205
2205
|
setDebugMode(true, true);
|
package/package.json
CHANGED