import { INgRunResult } from "../utils/runner/ng-run-result.interface"; import { INgRunOptions } from "./ng-run-options.interface"; export interface INgCommand { /** * Set args in bulk, will remove any existing arguments. * @param args Arguments to set. */ setArgs(args: Partial): INgCommand; /** * Set args in bulk, will merge with existing arguments. * @param args Arguments to set. * @param merge Merge existing arguments and the new together. */ setArgs(args: Partial, merge: true): INgCommand; /** * Set a single argument. * @param key Argument to set. * @param value Value for the argument. */ setArg(key: U, value: T[U]): Omit, "setArgs">; /** * Get the output command string for the current config. */ toString(): string; /** * Run the current command config. * @param location Optional location for the `cwd`, where the command will run. */ run(options?: INgRunOptions): Promise; }