* Set environment variable to check for option value. * * An environment variable is only used if when processed the current option value is * undefined, or the source of the current value is 'default' or 'config' or 'env'. * * @param {string} name * @return {Option}
(name)
| 118 | */ |
| 119 | |
| 120 | env(name) { |
| 121 | this.envVar = name; |
| 122 | return this; |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Set the custom handler for processing CLI option arguments into option values. |
no outgoing calls