subbeat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
553 B

3 years ago
use clap::{Arg, App, SubCommand};
3 years ago
fn main() {
3 years ago
let matches = App::new("My Super Program")
.version("0.0.2")
.about("Timeseries toolkit")
.arg(Arg::with_name("INPUT")
.help("Sets the input file to use")
.required(true)
.index(1))
.get_matches();
let input = matches.value_of("INPUT").unwrap();
println!("input file for influxdb {}", input);
3 years ago
}