added json output for further processing using other tools

This commit is contained in:
sreedev
2023-11-14 18:33:40 -05:00
parent 7d386c9420
commit 3e407f69c8
6 changed files with 57 additions and 13 deletions

View File

@@ -27,6 +27,9 @@ pub struct Params {
/// Follow links while scanning directories
#[arg(long, short)]
pub follow_links: bool,
/// print json output
#[arg(long)]
pub json: bool,
}
impl Params {