(key)
| 555 | }; |
| 556 | |
| 557 | let validateParsed = function (key) { |
| 558 | // ignore 'argv', 'h', and 'help' |
| 559 | if (!(key in commandOptions) && key !== 'argv' && key !== 'h' && key !== 'help') { |
| 560 | this.ui.writeLine( |
| 561 | chalk.yellow( |
| 562 | `The option '--${key}' is not registered with the '${this.name}' command. ` + |
| 563 | `Run \`ember ${this.name} --help\` for a list of supported options.` |
| 564 | ) |
| 565 | ); |
| 566 | } |
| 567 | if (typeof parsedOptions[key] !== 'object') { |
| 568 | commandOptions[camelize(key)] = parsedOptions[key]; |
| 569 | } |
| 570 | }; |
| 571 | |
| 572 | this.availableOptions.forEach((option) => { |
| 573 | if (typeof option.type !== 'string') { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…