(options: CliOptions)
| 152 | } |
| 153 | |
| 154 | function getCreateCommandVariant(options: CliOptions) { |
| 155 | if (options.listAddOns) { |
| 156 | return 'list_add_ons' |
| 157 | } |
| 158 | |
| 159 | if (options.addonDetails) { |
| 160 | return 'addon_details' |
| 161 | } |
| 162 | |
| 163 | if (options.devWatch) { |
| 164 | return 'dev_watch' |
| 165 | } |
| 166 | |
| 167 | return 'scaffold' |
| 168 | } |
| 169 | |
| 170 | function getCreateTelemetryProperties(projectName: string, options: CliOptions) { |
| 171 | const addOnIds = Array.isArray(options.addOns) |
no outgoing calls
no test coverage detected