rs-xsheet2txt 0.1.0

Converts the sheet to verbose txt lines.
Documentation
use std::io;

use clap::Parser;
use rs_xsheet2txt::xpath2sheet2rows2stdout;

#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
struct Args {
    /// Path to the Excel file
    #[arg(long)]
    xlsx_path: String,

    /// Name of the worksheet to read
    #[arg(long, default_value = "Sheet1")]
    sheet_name: String,
}

fn main() -> Result<(), io::Error> {
    let args = Args::parse();
    xpath2sheet2rows2stdout(args.xlsx_path, &args.sheet_name)
}