Reports if the given command has a command line option by a given name @method hasOption @param {String} name @return {Boolean}
(name)
| 331 | @return {Boolean} |
| 332 | */ |
| 333 | hasOption(name) { |
| 334 | for (let i = 0; i < this.availableOptions.length; i++) { |
| 335 | if (this.availableOptions[i].name === name) { |
| 336 | return true; |
| 337 | } |
| 338 | } |
| 339 | return false; |
| 340 | }, |
| 341 | |
| 342 | /** |
| 343 | Merges any options with duplicate keys in the availableOptions array. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…