()
| 283 | } |
| 284 | |
| 285 | private deleteCommand(): Command { |
| 286 | return new Command("delete") |
| 287 | .argument("<id>", "The id of the Send to delete.") |
| 288 | .description("delete a Send") |
| 289 | .action(async (id: string) => { |
| 290 | await this.exitIfLocked(); |
| 291 | const cmd = new SendDeleteCommand( |
| 292 | this.serviceContainer.sendService, |
| 293 | this.serviceContainer.sendApiService, |
| 294 | ); |
| 295 | const response = await cmd.run(id); |
| 296 | this.processResponse(response); |
| 297 | }); |
| 298 | } |
| 299 | |
| 300 | private removePasswordCommand(): Command { |
| 301 | return new Command("remove-password") |
no test coverage detected