UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

15 lines 807 B
export type OutputFormat = 'table' | 'json'; export declare abstract class BaseHandler { protected executeWithErrorHandling<T>(operation: () => Promise<T>, operationName: string): Promise<T>; protected displaySuccess(message: string, data?: any, format?: OutputFormat): void; protected displayData(data: any, format?: OutputFormat): void; protected displayAsTable(data: any): void; private displayArrayAsTable; private displayObjectAsTable; private formatTableValue; protected displayError(message: string, details?: any): void; protected displayWarning(message: string): void; protected displayInfo(message: string): void; protected validateRequiredParams(params: Record<string, any>, requiredFields: string[]): void; } //# sourceMappingURL=base.handler.d.ts.map