You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`args` {string[]} (Optional) Array of argument strings; defaults
82
82
to [`process.mainArgs`](process_argv)
83
83
*`options` {Object} (Optional) An object describing the known options to look for in `args`; `options` keys are the long names of the known options, and the values are objects with the following properties:
84
-
*`type` {'string'|'boolean'} (Optional) Type of known option; defaults to `'boolean'`;
84
+
*`type` {'string'|'boolean'} (Required) Type of known option
85
85
*`multiple` {boolean} (Optional) If true, when appearing one or more times in `args`, results are collected in an `Array`
86
86
*`short` {string} (Optional) A single character alias for an option; When appearing one or more times in `args`; Respects the `multiple` configuration
87
87
*`strict` {Boolean} (Optional) A `Boolean` on wheather or not to throw an error when unknown args are encountered
0 commit comments