xls-rs 0.1.2

A powerful CLI tool and library for spreadsheet manipulation with pandas-style operations. Supports CSV, Excel (XLSX, XLS, ODS), Parquet, and Avro formats with formula evaluation, data transformation, and comprehensive analytics capabilities.
Documentation
//! xls-rs - A CLI tool and MCP server for reading, writing, and converting spreadsheet files
//!
//! Supports CSV, Excel (xlsx/xls), ODS, Parquet, and Avro formats with formula evaluation.

#![allow(dead_code)] // Modules expose APIs for library use

use anyhow::Result;
use clap::Parser;
mod cli;

use cli::{Cli, CommandHandler, DefaultCommandHandler};

fn main() -> Result<()> {
    let cli = Cli::parse();
    cli::runtime::init(cli::runtime::CliRuntime {
        config_path: cli.config.clone(),
        quiet: cli.quiet,
        verbose: cli.verbose,
        overwrite: cli.overwrite,
    });
    let handler = DefaultCommandHandler::new();

    handler.handle(cli.command)
}