First dispatcher
- Create (sub)command structure. - First experimental dispatcher to start the daemon.
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ pub struct HuskConfig {
|
||||
|
||||
impl HuskConfig {
|
||||
|
||||
pub fn load(path: &String) -> anyhow::Result<Self> {
|
||||
pub fn load(path: &str) -> anyhow::Result<Self> {
|
||||
match fs::read_to_string(path) {
|
||||
Ok(data) => {
|
||||
match toml::from_str(data.as_str()) {
|
||||
|
||||
Reference in New Issue
Block a user