@alcyone-labs/arg-parser 2.13.0 → 2.13.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/README.md +16 -6
- package/dist/core/ArgParserBase.d.ts.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.min.mjs +21 -21
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4065,6 +4065,9 @@ class ArgParserBase {
|
|
|
4065
4065
|
if (!subParser.#appCommandName && this.#appCommandName) {
|
|
4066
4066
|
subParser.#appCommandName = this.#appCommandName;
|
|
4067
4067
|
}
|
|
4068
|
+
if (subCommandConfig.description) {
|
|
4069
|
+
subParser.#description = subCommandConfig.description;
|
|
4070
|
+
}
|
|
4068
4071
|
subParser.#autoExit = this.#autoExit;
|
|
4069
4072
|
subParser.#triggerAutoHelpIfNoHandler = this.#triggerAutoHelpIfNoHandler;
|
|
4070
4073
|
const shouldInherit = subParser.#inheritParentFlags === true || subParser.#inheritParentFlags === FlagInheritance.DirectParentOnly || subParser.#inheritParentFlags === FlagInheritance.AllParents;
|