UNPKG

@semo/cli

Version:

17 lines 778 B
import { ArgvExtraOptions } from '@semo/core'; import repl, { REPLServer } from 'repl'; /** * Keep repl history * */ export declare const replHistory: (repl: REPLServer & { [key: string]: any; }, file: string) => void; export declare const reload: (repl: repl.REPLServer, argv: ArgvExtraOptions & { [key: string]: any; }) => Promise<void>; export declare const extract: (repl: repl.REPLServer, obj: Record<string, any>, keys?: string[] | string, newObjName?: string) => void; export declare function openRepl(context: Record<string, any>): Promise<any>; export declare const corepl: (cli: repl.REPLServer) => repl.REPLServer; export declare const importPackage: (argv: ArgvExtraOptions) => (name: string, force?: boolean) => string; //# sourceMappingURL=repl.d.ts.map