MCPcopy
hub / github.com/vitejs/vite / getInstallCommand

Function getInstallCommand

packages/create-vite/src/index.ts:1108–1113  ·  view source on GitHub ↗
(agent: string)

Source from the content-addressed store, hash-verified

1106}
1107
1108function getInstallCommand(agent: string) {
1109 if (agent === 'yarn') {
1110 return [agent]
1111 }
1112 return [agent, 'install']
1113}
1114
1115function getRunCommand(agent: string, script: string) {
1116 switch (agent) {

Callers 2

installFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected