@feflow/cli
Version:
A front-end flow tool.
24 lines • 704 B
TypeScript
import Feflow from '../core';
import CommandPicker from '../core/command-picker';
declare type PrintError = {
error: unknown | Error;
msg?: string;
pluginPath?: string;
hideError?: boolean;
};
export declare class FefError {
context: Feflow;
picker: CommandPicker | null;
defaultDocs: string;
docsPathList: string[];
pluginFile: string;
unversalpluginFile: string[];
constructor(context: Feflow);
checkPick(): boolean;
printError(obj: PrintError): void;
printErrorWithDocs(obj: PrintError, docs: string): void;
getDocPath(pluginPath?: string): string;
parseConfig(filePath: string): any;
}
export {};
//# sourceMappingURL=fef-error.d.ts.map