MCPcopy Create free account
hub / github.com/IAmUnbounded/devctx / runDevCtx

Function runDevCtx

devctx/vscode-extension/src/extension.ts:42–52  ·  view source on GitHub ↗
(
    args: string,
    cwd?: string
)

Source from the content-addressed store, hash-verified

40}
41
42async function runDevCtx(
43 args: string,
44 cwd?: string
45): Promise<{ stdout: string; stderr: string }> {
46 const workspaceFolder = cwd || vscode.workspace.workspaceFolders?.[0]?.uri.fsPath;
47 if (!workspaceFolder) {
48 throw new Error("No workspace folder open");
49 }
50
51 return execAsync(`npx devctx ${args}`, { cwd: workspaceFolder });
52}
53
54async function autoResume() {
55 try {

Callers 6

autoResumeFunction · 0.85
saveContextFunction · 0.85
resumeContextFunction · 0.85
showLogFunction · 0.85
showDiffFunction · 0.85
updateStatusBarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected