@cucumber/cucumber
Version:
The official JavaScript implementation of Cucumber.
21 lines (20 loc) • 552 B
TypeScript
import { IFormatterStream } from '../formatter';
export interface ICliRunResult {
shouldExitImmediately: boolean;
success: boolean;
}
export default class Cli {
private readonly argv;
private readonly cwd;
private readonly stdout;
private readonly stderr;
private readonly env;
constructor({ argv, cwd, stdout, stderr, env, }: {
argv: string[];
cwd: string;
stdout: IFormatterStream;
stderr?: IFormatterStream;
env: NodeJS.ProcessEnv;
});
run(): Promise<ICliRunResult>;
}