|
|
|
@ -14,6 +14,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
|
|
|
let args = CliArgs::parse();
|
|
|
|
|
|
|
|
|
|
println!("Opening Config file: {}", args.config_file);
|
|
|
|
|
println!("File exists: {}", std::fs::metadata(args.config_file.clone()).is_ok());
|
|
|
|
|
|
|
|
|
|
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"));
|
|
|
|
|