feat: optionally load config from json file
modified src/bin/cib.rs
@@ -9,9 +9,7 @@ use std::{
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
|
|
|
@@ -58,7 +56,7 @@ fn fallible_main() -> Result<(), CibError> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/config.rs
@@ -2,6 +2,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -65,8 +66,12 @@ impl Config {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -201,6 +206,10 @@ pub enum ConfigError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|