@aiot-toolkit/commander
Advanced tools
Comparing version 2.0.2-dev.2 to 2.0.2-dev.3
@@ -25,3 +25,3 @@ "use strict"; | ||
const { name, description, version, commandList, defaultCommand } = programConfig; | ||
commander_1.program.name(name).description(description).version(version); | ||
commander_1.program.name(name).description(description).version(version, '-v, --version'); | ||
if (defaultCommand) { | ||
@@ -28,0 +28,0 @@ this.registeCommand(defaultCommand); |
{ | ||
"name": "@aiot-toolkit/commander", | ||
"version": "2.0.2-dev.2", | ||
"version": "2.0.2-dev.3", | ||
"description": "A tool that generates complete commands with configuration", | ||
@@ -23,7 +23,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@aiot-toolkit/shared-utils": "2.0.2-dev.2", | ||
"@aiot-toolkit/shared-utils": "2.0.2-dev.3", | ||
"@inquirer/prompts": "^3.0.3", | ||
"commander": "^11.0.0" | ||
}, | ||
"gitHead": "4979839c27a3477f7e72f1f1ed167200bc1d48b5" | ||
"gitHead": "e143a7038d5efaa59f01b2e2eb98422b1ec01097" | ||
} |
21056
+ Added@aiot-toolkit/shared-utils@2.0.2-dev.3(transitive)
- Removed@aiot-toolkit/shared-utils@2.0.2-dev.2(transitive)
- Removedcrypto@1.0.1(transitive)