@qodalis/angular-cli
Version:
A lightweight and flexible command-line interface (CLI) tool designed to streamline workflows and automate tasks for developers.
16 lines (15 loc) • 509 B
TypeScript
import { Terminal } from '@xterm/xterm';
import { CliTextAnimatorOptions, ICliTextAnimator } from '@qodalis/cli-core';
export declare class CliTerminalTextAnimator implements ICliTextAnimator {
private terminal;
isRunning: boolean;
private animationInterval?;
private text;
constructor(terminal: Terminal);
show(text?: string): void;
showText(text: string, options?: CliTextAnimatorOptions): void;
/**
* Hide the animation and reset the state.
*/
hide(): void;
}