@sethdouglasford/claude-flow
Version:
Claude Code Flow - Advanced AI-powered development workflows with SPARC methodology
58 lines • 1.71 kB
TypeScript
/**
* Output formatting utilities for CLI
*/
import Table from "cli-table3";
import { AgentProfile, Task, MemoryEntry, HealthStatus } from "../utils/types.js";
/**
* Formats an error for display
*/
export declare function formatError(error: unknown): string;
/**
* Formats an agent profile for display
*/
export declare function formatAgent(agent: AgentProfile): string;
/**
* Formats a task for display
*/
export declare function formatTask(task: Task): string;
/**
* Formats a memory entry for display
*/
export declare function formatMemoryEntry(entry: MemoryEntry): string;
/**
* Formats health status for display
*/
export declare function formatHealthStatus(health: HealthStatus): string;
/**
* Creates a table for agent listing
*/
export declare function createAgentTable(agents: AgentProfile[]): Table.Table;
/**
* Creates a table for task listing
*/
export declare function createTaskTable(tasks: Task[]): Table.Table;
/**
* Formats duration in human-readable form
*/
export declare function formatDuration(ms: number): string;
/**
* Displays the Claude-Flow banner
*/
export declare function displayBanner(version: string): void;
/**
* Displays detailed version information
*/
export declare function displayVersion(version: string, buildDate: string): void;
/**
* Formats a progress bar
*/
export declare function formatProgressBar(current: number, total: number, width?: number, label?: string): string;
/**
* Creates a status indicator
*/
export declare function formatStatusIndicator(status: string): string;
/**
* Formats a spinner with message
*/
export declare function formatSpinner(message: string, frame?: number): string;
//# sourceMappingURL=formatter.d.ts.map