UNPKG

piral-cli

Version:

The standard CLI for creating and building a Piral instance or a Pilet.

38 lines (37 loc) 939 B
export declare function notifyServerOnline(path: string, api: string | false): (svc: any) => void; export declare function createInitialKrasConfig(directory: string, sources?: Array<string>, map?: Record<string, string>, feed?: string | Array<string>): { api: string; directory: string; map: { '/': string; }; ssl: any; sources: string[]; injectorDirs: string[]; injectors: { script: { active: boolean; }; har: { active: boolean; delay: boolean; }; json: { active: boolean; randomize: boolean; }; piral: { active: boolean; headers: {}; }; pilet: { active: boolean; meta: string; headers: {}; feed: string | string[]; }; proxy: { active: boolean; }; }; };