@anycli/config
Version:
base config object and standard interfaces for anycli components
17 lines (16 loc) • 360 B
TypeScript
export declare class CLIError extends Error {
'cli-ux': any;
code: string;
constructor(error: string | Error, options?: {
code?: string;
exit?: number;
});
render(): any;
}
export declare class ExitError extends CLIError {
'cli-ux': {
exit: number;
};
code: string;
constructor(exitCode?: number);
}