MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / stopProjectService

Function stopProjectService

packages/vscode-extension/extension.js:120–126  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

118}
119
120async function stopProjectService(context) {
121 const config = vscode.workspace.getConfiguration("simdeck");
122 const cliPath = resolveCliPath(context, config.get("cliPath", ""));
123 outputChannel.appendLine(`Stopping SimDeck project service using ${cliPath}`);
124 const result = await runCli(context, cliPath, ["service", "stop"]);
125 outputChannel.append(result.stderr);
126}
127
128function runCli(context, cliPath, args) {
129 return new Promise((resolve, reject) => {

Callers 1

activateFunction · 0.85

Calls 4

resolveCliPathFunction · 0.85
runCliFunction · 0.85
getMethod · 0.65
appendMethod · 0.65

Tested by

no test coverage detected