MCPcopy Create free account
hub / github.com/TejasQ/idli / copyCommand

Function copyCommand

util/copyCommand.ts:8–13  ·  view source on GitHub ↗
({ command, spinner }: Options)

Source from the content-addressed store, hash-verified

6};
7
8export async function copyCommand({ command, spinner }: Options) {
9 // @ts-ignore
10 const clipboard = await import("node-clipboardy");
11 clipboard.default.writeSync(command);
12 spinner.succeed("Command copied to clipboard.");
13}

Callers 1

askFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected