UNPKG

@re-shell/cli

Version:

Full-stack development platform uniting microservices and microfrontends. Build complete applications with .NET (ASP.NET Core Web API, Minimal API), Java (Spring Boot, Quarkus, Micronaut, Vert.x), Rust (Actix-Web, Warp, Rocket, Axum), Python (FastAPI, Dja

27 lines (26 loc) 750 B
interface SpinnerOptions { text: string; color?: string; stream?: NodeJS.WriteStream; } export declare class ProgressSpinner { private spinner; private isInteractive; constructor(options: SpinnerOptions); start(): this; succeed(text?: string): this; fail(text?: string): this; warn(text?: string): this; info(text?: string): this; stop(): this; setText(text: string): this; setColor(color: string): this; clear(): this; render(): this; private forceFlush; private finalFlush; } export declare function createSpinner(text: string, color?: string): ProgressSpinner; export declare function flushOutput(): void; export declare function isInteractiveTerminal(): boolean; export {};