lychee/crates/lychee-cli/src/lib.rs
NotAShelf c119d7ae26
treewide: rewrite with Iced; migrate to new repository format
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If2c377d3b866a33a65d85836bc9010756a6a6964
2026-04-06 00:54:18 +03:00

16 lines
391 B
Rust

use clap::Parser;
pub use clap::Parser as Clap;
#[derive(Parser, Debug)]
#[command(name = "lychee")]
pub struct Args {
#[arg(help = "Paths to images or directories")]
pub paths: Vec<String>,
#[arg(short, long, help = "Open in fullscreen mode")]
pub fullscreen: bool,
#[arg(long, default_value_t = 5, help = "Slideshow interval in seconds")]
pub slideshow: u64,
}