(commandOptions, commandArguments)
| 49 | anonymousOptions: ['<addon-name>'], |
| 50 | |
| 51 | run(commandOptions, commandArguments) { |
| 52 | let addonName = commandArguments[0]; |
| 53 | |
| 54 | if (addonName) { |
| 55 | return this._super(commandOptions, commandArguments); |
| 56 | } |
| 57 | |
| 58 | return Promise.reject( |
| 59 | new SilentError('The `ember addon` command requires a name to be specified. For more details, run `ember help`.') |
| 60 | ); |
| 61 | }, |
| 62 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected