Skip to content

Commit

Permalink
add todo: add description of the program
Browse files Browse the repository at this point in the history
  • Loading branch information
the-shank committed Jan 10, 2023
1 parent 77b2ad6 commit 270d626
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bin/broken_symlinks.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
use clap::Parser;
use std::path::PathBuf;
use std::env;
use color_eyre::eyre::Result;
use std::env;
use std::path::PathBuf;

extern crate utils_rs;
use utils_rs::common::parsers;

#[derive(Parser, Debug)]
struct Args {
// TODO: add description of the program
#[arg(value_parser=parsers::parse_dir)]
root: Option<PathBuf>,
}


fn main() -> Result<()>{
fn main() -> Result<()> {
let args = Args::parse();
let root_dir = args.root.unwrap_or(env::current_dir()?);
dbg!(&root_dir);
Expand Down

0 comments on commit 270d626

Please sign in to comment.