fencer 1.1.0

A mini CLI tool to scan creds and secrets in source code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use fencer::{args, config, search, utilities};

fn main() {
    
    let args =args::Args::parse();

    let regex_json: config::RegexConfig = config::RegexConfig::new().unwrap();
    let results= search::search_for_secrets(&args.project_dir, &args.excluded_paths, regex_json).unwrap();

    // print the results
    utilities::print_results(results);
}