refactor: Upgrade to commander 13.0.0 (#9574)

This commit is contained in:
Daniel
2025-01-29 16:04:54 +11:00
committed by GitHub
parent ea5ee682a7
commit a68f71b3de
4 changed files with 144 additions and 10 deletions

View File

@@ -136,5 +136,8 @@ Command.prototype.getOptions = function () {
}, {});
};
export default new Command().storeOptionsAsProperties();
const commander = new Command()
commander.storeOptionsAsProperties();
commander.allowExcessArguments();
export default commander;
/* eslint-enable no-console */