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

Method executeNgCommand

packages/angular/cli/src/commands/mcp/host.ts:83–83  ·  view source on GitHub ↗

* Spawns a child process and returns a promise that resolves with the process's * output or rejects with a structured error. * @param args The arguments to pass to the command. * @param options Options for the child process. * @returns A promise that resolves with the standard output and

(
    args: readonly string[],
    options?: {
      timeout?: number;
      stdio?: 'pipe' | 'ignore';
      cwd?: string;
      env?: Record<string, string>;
    },
  )

Source from the content-addressed store, hash-verified

81 * @returns A promise that resolves with the standard output and standard error of the command.
82 */
83 executeNgCommand(
84 args: readonly string[],
85 options?: {
86 timeout?: number;

Callers 4

executeNgCommandFunction · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Implementers 1

MockHostpackages/angular/cli/src/commands/mcp/

Calls

no outgoing calls

Tested by

no test coverage detected