MCPcopy Create free account
hub / github.com/bitwarden/clients / deleteCommand

Method deleteCommand

apps/cli/src/tools/send/send.program.ts:285–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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")

Callers 1

sendCommandMethod · 0.95

Calls 4

runMethod · 0.95
actionMethod · 0.80
descriptionMethod · 0.45
processResponseMethod · 0.45

Tested by

no test coverage detected