()
| 208 | } |
| 209 | |
| 210 | private async list() { |
| 211 | const options = this.importService |
| 212 | .getImportOptions() |
| 213 | .sort((a, b) => { |
| 214 | return a.id < b.id ? -1 : a.id > b.id ? 1 : 0; |
| 215 | }) |
| 216 | .map((option) => option.id) |
| 217 | .join("\n"); |
| 218 | const res = new MessageResponse("Supported input formats:", options); |
| 219 | res.raw = options; |
| 220 | return Response.success(res); |
| 221 | } |
| 222 | |
| 223 | private async resolveImportPassword(options: OptionValues): Promise<string> { |
| 224 | const password = await CliUtils.getPassword( |
no test coverage detected