()
| 137 | } |
| 138 | |
| 139 | private listCommand(): Command { |
| 140 | return new Command("list") |
| 141 | |
| 142 | .description("List all the Sends owned by you") |
| 143 | .on("--help", () => { |
| 144 | writeLn(chalk("This is in the list command")); |
| 145 | }) |
| 146 | .action(async (options: OptionValues) => { |
| 147 | await this.exitIfLocked(); |
| 148 | const cmd = new SendListCommand( |
| 149 | this.serviceContainer.sendService, |
| 150 | this.serviceContainer.environmentService, |
| 151 | this.serviceContainer.searchService, |
| 152 | this.serviceContainer.accountService, |
| 153 | ); |
| 154 | const response = await cmd.run(options); |
| 155 | this.processResponse(response); |
| 156 | }); |
| 157 | } |
| 158 | |
| 159 | private templateCommand(): Command { |
| 160 | return new Command("template") |
no test coverage detected