add default path

This commit is contained in:
casually-blue 2022-12-21 19:00:08 -06:00
parent dad525bfbd
commit 968479d0e8

View file

@ -15,6 +15,7 @@ use knuffel::Decode;
#[derive(Parser)]
struct Options {
#[clap(default_value="./")]
path: PathBuf,
}
@ -94,7 +95,7 @@ pub fn main() -> miette::Result<()> {
for line in buf_reader.lines() {
match line {
Ok(l) => {
println!("[{name2}][stderr] {l}");
println!("\x1b[0m[{name2}][stderr] {l}");
}
_ => return,
}