better-npm-init
Version:
A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]
16 lines (15 loc) • 516 B
TypeScript
export declare class OraImpl {
text: string;
constructor(text?: string);
succeed(_symbol?: string): OraImpl;
fail(_symbol?: string): OraImpl;
start(): OraImpl;
stop(_symbol?: string): OraImpl;
warn(_message: string): OraImpl;
}
export interface AsyncOraMethod {
(initialOraValue: string, asyncFn: (oraImpl: OraImpl) => Promise<void>, processExitFn?: (code: number) => void): Promise<void>;
interactive?: boolean;
}
declare const asyncOra: AsyncOraMethod;
export default asyncOra;