diff --git a/lib/command.js b/lib/command.js index c19197787..d44331b65 100644 --- a/lib/command.js +++ b/lib/command.js @@ -79,6 +79,9 @@ class Command extends EventEmitter { this._helpConfiguration = {}; this._optionValuesProxy = new Proxy(this._optionValues, { + get: (_, key) => { + return this.getOptionValue(key); + }, set: (_, key, value) => { this.setOptionValue(key, value); return true;