MCPcopy Index your code
hub / github.com/angular/angular-cli / executeNgCommand

Function executeNgCommand

packages/angular/cli/src/commands/mcp/host.ts:369–377  ·  view source on GitHub ↗
(
      args: readonly string[],
      options: Parameters<Host['executeNgCommand']>[1] = {},
    )

Source from the content-addressed store, hash-verified

367 return baseHost.glob(pattern, options);
368 },
369 executeNgCommand(
370 args: readonly string[],
371 options: Parameters<Host['executeNgCommand']>[1] = {},
372 ) {
373 const effectiveCwd = options?.cwd ?? process.cwd();
374 checkPath(effectiveCwd);
375
376 return baseHost.executeNgCommand(args, options);
377 },
378 startNgProcess(args: readonly string[], options: Parameters<Host['startNgProcess']>[1] = {}) {
379 const effectiveCwd = options?.cwd ?? process.cwd();
380 checkPath(effectiveCwd);

Callers

nothing calls this directly

Calls 2

checkPathFunction · 0.85
executeNgCommandMethod · 0.80

Tested by

no test coverage detected