INNER CODE UNIT · Rust
default
Drew-Alleman/DataSurgeon · src/main.rs:45
fn default() -> Self {
let plugins = load_plugins();
let mut app = Command::new("DataSurgeon: https://github.com/Drew-Alleman/DataSurgeon")
.version("1.2.8")
.author("https://github.com/Drew-Alleman/DataSurgeon")
.about("Note: All extraction features (e.g: -i) work on a specified file (-f) or an output stream.")
.arg(Arg::new("file")
.short('f')
.long("file")
.help("File to extract information from")
.action(clap::ArgAction::Set)
.default_value("")
)
.arg(Arg::new("add")
.long("add")
.help("Adds a plugin from a GitHub repository (e.g ds --add https://github.com/Drew-Alleman/ds-winreg-plugin/)")
.action(clap::ArgAction::Set)
.default_value("")