HALLELUJAH - v0.1.1 do not panic if .env_chirho is not found
This commit is contained in:
1 parent
2228a95515
commit
96c6a63b07
3 files changed
+6
-3
No files matched your search
Generated
+1
-1
@@ -1919,7 +1919,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rs_machine_input_chirho"
|
name = "rs_machine_input_chirho"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap",
|
"clap",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
|
# For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
|
||||||
[package]
|
[package]
|
||||||
name = "rs_machine_input_chirho"
|
name = "rs_machine_input_chirho"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Love Jesus <[email protected]>"]
|
authors = ["Love Jesus <[email protected]>"]
|
||||||
description = "A command-line tool to synchronize computer resource information with a remote database"
|
description = "A command-line tool to synchronize computer resource information with a remote database"
|
||||||
|
|||||||
+4
-1
@@ -46,7 +46,10 @@ fn index() -> &'static str {
|
|||||||
|
|
||||||
#[launch]
|
#[launch]
|
||||||
fn rocket_chirho() -> _ {
|
fn rocket_chirho() -> _ {
|
||||||
dotenvy::from_filename(".env_chirho").expect("Failed to load .env file");
|
match dotenvy::from_filename(".env_chirho") {
|
||||||
|
Ok(_) => (),
|
||||||
|
Err(e_chirho) => eprintln!("Likely no .env_chirho file found {}", e_chirho),
|
||||||
|
};
|
||||||
|
|
||||||
let cli_chirho = CliChirho::parse();
|
let cli_chirho = CliChirho::parse();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user