Files
nym/src/commands/init.rs
T

15 lines
414 B
Rust

use clap::ArgMatches;
pub fn execute(matches: &ArgMatches) {
println!("Running client init!");
// don't unwrap it, pass it as it is, if it's None, choose a random
let provider_id = matches.value_of("providerID");
let init_local = matches.is_present("local");
println!(
"client init goes here with providerID: {:?} and running locally: {:?}",
provider_id, init_local
);
}