UNPKG

ng-programmatic

Version:

Programmatic interface for configuring and running Angular CLI commands.

22 lines (21 loc) 574 B
export interface INgRunOptions { /** * Specify a directory for the command to be executed from. This * value is simply forwarded on to the 'child_process' `spawn` function. */ cwd?: string; /** * Use the locally installed Angular CLI (in `node_modules`) instead of the one * installed globally. To use this, you must add the following script to your * `package.json`: * * ``` * // ... * "scripts": { * "ng": "ng" * } * // ... * ``` */ useLocalCli?: boolean; }