@archer-edu/dxp-directus-cli
Version:
15 lines (14 loc) • 498 B
TypeScript
import commander from "commander";
type LighthouseRunOptions = {
authToken?: string;
sitemapUrl?: string;
apiUrl?: string;
resultUrlBase?: string;
maxUrls?: string | number;
pollInterval?: string | number;
maxAttempts?: string | number;
};
type Logger = (message: string) => void;
declare const register: (program: commander.Command) => void;
export default register;
export declare function runLighthouse(options: LighthouseRunOptions, logger?: Logger): Promise<void>;