UNPKG

@visionfi/server-cli

Version:

Command-line interface for VisionFI Server SDK

48 lines (47 loc) 1.07 kB
/** * Display utilities for VisionFI CLI * Copyright (c) 2024-2025 VisionFI. All Rights Reserved. */ import { Ora } from 'ora'; export declare class Display { /** * Display data as formatted JSON */ static json(data: any, pretty?: boolean): void; /** * Display data as a table */ static table(data: any[]): void; /** * Display success message */ static success(message: string): void; /** * Display error message */ static error(message: string): void; /** * Display warning message */ static warning(message: string): void; /** * Display info message */ static info(message: string): void; /** * Create a spinner for long-running operations */ static spinner(message: string): Ora; /** * Display a header */ static header(title: string): void; /** * Display key-value pairs */ static keyValue(key: string, value: any): void; /** * Display a list */ static list(items: string[]): void; }