First dispatcher

- Create (sub)command structure.
- First experimental dispatcher to start the daemon.
This commit is contained in:
Malte Meiboom
2026-02-22 12:51:05 +01:00
parent 2d072bf10b
commit c33feb1ee7
14 changed files with 323 additions and 35 deletions
+1 -1
View File
@@ -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()) {