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

Method templateCommand

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

Source from the content-addressed store, hash-verified

157 }
158
159 private templateCommand(): Command {
160 return new Command("template")
161 .argument("<object>", "Valid objects are: send.text, text, send.file, file")
162 .description("Get json templates for send objects")
163 .action((object: string) => {
164 this.processResponse(new SendTemplateCommand().run(object));
165 });
166 }
167
168 private getCommand(): Command {
169 return new Command("get")

Callers 1

sendCommandMethod · 0.95

Calls 4

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

Tested by

no test coverage detected