treewide: rewrite with Iced; migrate to new repository format
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: If2c377d3b866a33a65d85836bc9010756a6a6964
This commit is contained in:
parent
73dedc66c0
commit
c119d7ae26
13 changed files with 4646 additions and 949 deletions
16
crates/lychee-cli/src/lib.rs
Normal file
16
crates/lychee-cli/src/lib.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue