MCPcopy Create free account
hub / github.com/pingdotgg/t3code / commandForProjectScript

Function commandForProjectScript

apps/web/src/projectScripts.ts:25–26  ·  view source on GitHub ↗
(scriptId: string)

Source from the content-addressed store, hash-verified

23}
24
25export const commandForProjectScript = (scriptId: string): KeybindingCommand =>
26 SCRIPT_RUN_COMMAND_PATTERN.make(`script.${scriptId}.run`);
27
28export function projectScriptIdFromCommand(command: string): string | null {
29 const trimmed = command.trim();

Callers 6

submitAddScriptFunction · 0.90
openEditDialogFunction · 0.90
ProjectScriptsControlFunction · 0.90
ChatViewContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected