a CLI tool to post updates to crunk-scheduler.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
382 B

#![allow(unused)]
use clap::Parser;
/// Search for a pattern in a file and display the lines that contain it.
#[derive(Parser)]
struct Cli {
pattern: String,
path: std::path::PathBuf,
}
fn main() {
let args = Cli::parse();
println!("pattern: {}", args.pattern);
println!(
"path: {}",
args.path.into_os_string().into_string().unwrap()
);
}