MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / getExecuteCommand

Function getExecuteCommand

app/utils/install-command.ts:155–157  ·  view source on GitHub ↗
(options: ExecuteCommandOptions)

Source from the content-addressed store, hash-verified

153}
154
155export function getExecuteCommand(options: ExecuteCommandOptions): string {
156 return getExecuteCommandParts(options).join(' ')
157}
158
159export function getExecuteCommandParts(options: ExecuteCommandOptions): string[] {
160 const pm = packageManagers.find(p => p.id === options.packageManager)

Callers 1

Calls 1

getExecuteCommandPartsFunction · 0.85

Tested by

no test coverage detected