Run npm-install and add npm install as a post update option
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m19s

This commit is contained in:
2025-12-16 01:01:56 +01:00
parent 9510650dd1
commit 786d2c8e74
1036 changed files with 44950 additions and 158791 deletions

View File

@@ -234,15 +234,27 @@ export class Jack {
this.#configSet = Object.create(null);
this.#shorts = Object.create(null);
}
/**
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
* but also including `description` and `short` fields, if set.
*/
get definitions() {
return this.#configSet;
}
/** map of `{ <short>: <long> }` strings for each short name defined */
get shorts() {
return this.#shorts;
}
/**
* options passed to the {@link Jack} constructor
*/
get jackOptions() {
return this.#options;
}
/**
* the data used to generate {@link Jack#usage} and
* {@link Jack#usageMarkdown} content.
*/
get usageFields() {
return this.#fields;
}
@@ -261,6 +273,7 @@ export class Jack {
/* c8 ignore next */
const cause = typeof er.cause === 'object' ? er.cause : {};
er.cause = { ...cause, path: source };
Error.captureStackTrace(er, this.setConfigValues);
}
throw er;
}