MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / buildCopyCommand

Function buildCopyCommand

acron/acron.ts:262–265  ·  view source on GitHub ↗
(task: AcronTask)

Source from the content-addressed store, hash-verified

260 return `${mainPrefix}acron`;
261}
262function buildCopyCommand(task: AcronTask): string {
263 const cmd = buildCopy(task);
264 return cmd?.includes("\n") ? `<pre>${cmd}</pre>` : `<code>${cmd}</code>`;
265}
266
267function tryParseRegex(input: string): RegExp {
268 const trimmed = input.trim();

Callers 1

AcronPluginClass · 0.70

Calls 1

buildCopyFunction · 0.70

Tested by

no test coverage detected