INNER CODE UNIT · Rust

arg

Drew-Alleman/DataSurgeon · src/main.rs:278

            let arg = Arg::new(&*content_type)
                .long(&*arg_long_name)
                .help(&*help_message)
                .action(clap::ArgAction::SetTrue);
            app = app.arg(arg);
        }
        let matches = app.get_matches();
        Self {
            matches,
            plugins: plugins,
            output_file: "".to_string(),
            filename: "".to_string(),
            clean: false,
            drop: "".to_string(),
            filter: "".to_string(),
            directory: "".to_string(),
            drop_regex: Regex::new(r#".{10,}"#).unwrap(),
            filter_regex: Regex::new(r#".{10,}"#).unwrap(),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…