donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
21 lines • 877 B
TypeScript
#!/usr/bin/env node
declare function hasReporterArg(args: string[]): boolean;
declare function injectJsonReporterIntoArgs(args: string[]): {
/** True when the args contained any `--reporter` / `-r` flag. */
reporterFlagFound: boolean;
/** True when the user's args already listed `json` — i.e. they configured
* a JSON reporter themselves rather than us force-injecting one. */
userHadJson: boolean;
};
declare function ensureReporterValueHasJson(value: string): {
value: string;
changed: boolean;
};
/** @internal Exposed for unit tests only — not part of the public API. */
export declare const _forTesting: {
ensureReporterValueHasJson: typeof ensureReporterValueHasJson;
hasReporterArg: typeof hasReporterArg;
injectJsonReporterIntoArgs: typeof injectJsonReporterIntoArgs;
};
export {};
//# sourceMappingURL=donobu-cli.d.ts.map