cai-cli-0.1.0 is not a library.
cai-cli
Command-line interface for CAI.
Overview
cai-cli provides the main cai command-line tool for interacting with CAI functionality.
Installation
# From crates.io
# From source
Usage
Query Command
Ingest Command
Interactive TUI
Web Dashboard
Output Formats
table- Pretty terminal table (default)json- JSON arrayjsonl- JSON Lines (streaming)csv- CSV with headersai- AI-optimized compact formatstats- Summary statistics
Usage in Code
use Cli;
use Parser;
let cli = parse;
// Handle commands...
Design Decisions
- clap: Type-safe argument parsing
- colored: User-friendly colored output
- async: Non-blocking command execution
License
MIT OR Apache-2.0