|
|
@ -12,6 +12,9 @@ use std::process::Command;
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
|
|
|
|
|
|
|
|
|
|
let args = CliArgs::parse();
|
|
|
|
let args = CliArgs::parse();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
println!("Opening Config file: {}", args.config_file);
|
|
|
|
|
|
|
|
|
|
|
|
let cfg: Config = confy::load_path(args.config_file)?;
|
|
|
|
let cfg: Config = confy::load_path(args.config_file)?;
|
|
|
|
let mut body_content: String = format!("*Last Updated:* {} \n", chrono::Local::now().format("%D - %H:%M:%S"));
|
|
|
|
let mut body_content: String = format!("*Last Updated:* {} \n", chrono::Local::now().format("%D - %H:%M:%S"));
|
|
|
|
|
|
|
|
|
|
|
|