@agentled/cli
Version:
CLI for Agentled — manage workflows, apps, and knowledge from the command line. Zero context-window cost for AI agents.
12 lines (11 loc) • 466 B
TypeScript
/**
* Output formatting utilities.
*
* Default: JSON (optimized for AI agent parsing)
* --format table: Human-readable tables
* --format minimal: Compact single-line output for piping
*/
export type OutputFormat = 'json' | 'table' | 'minimal';
export declare function formatOutput(data: any, format?: OutputFormat): string;
export declare function printOutput(data: any, format?: OutputFormat): void;
export declare function printError(message: string): void;