Skip to content

Commit

Permalink
Initial CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o committed Dec 16, 2024
1 parent df27910 commit 8a1819f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rust/cli.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
use clap::Parser;
use std::path::PathBuf;

#[derive(Parser)]
#[clap(author, version, about, long_about = None)]
pub struct Cli {
/// Path to the file to read
#[clap(parse(from_os_str))]
pub
path: PathBuf,
}

0 comments on commit 8a1819f

Please sign in to comment.