MCPcopy Index your code
hub / github.com/coder/code-server / shouldSpawnCliProcess

Function shouldSpawnCliProcess

src/node/main.ts:19–26  ·  view source on GitHub ↗
(args: UserProvidedArgs)

Source from the content-addressed store, hash-verified

17 * Return true if the user passed an extension-related VS Code flag.
18 */
19export const shouldSpawnCliProcess = (args: UserProvidedArgs): boolean => {
20 return (
21 !!args["list-extensions"] ||
22 !!args["install-extension"] ||
23 !!args["uninstall-extension"] ||
24 !!args["locate-extension"]
25 )
26}
27
28/**
29 * This is copy of OpenCommandPipeArgs from

Callers 2

cli.test.tsFile · 0.90
entryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected