verso-reader 0.1.0

A terminal EPUB reader with vim navigation, a Kindle-style library, and Markdown highlight export
Documentation
use clap::{Parser, Subcommand};
use std::path::PathBuf;

#[derive(Debug, Parser)]
#[command(name = "verso", version, about = "Terminal EPUB reader")]
pub struct Cli {
    #[command(subcommand)]
    pub command: Option<Command>,
}

#[derive(Debug, Subcommand)]
pub enum Command {
    /// Re-scan the library folder.
    Scan,
    /// Export highlights for a book (path or title) to Markdown.
    Export { target: String },
    /// Permanently remove soft-deleted books and their highlights (asks first).
    PurgeOrphans,
    /// Print the effective config.
    Config,
    /// Open an EPUB file directly (testing aid; full library UI arrives later).
    Open { path: PathBuf },
}