Complete skeleton dispatcher

- Complete the dispatcher for the 'introducer' and 'local' command. This
  is currently only a skeleton.
- The 'introducer list' command is added.
This commit is contained in:
Malte Meiboom
2026-04-27 13:17:03 +02:00
parent c33feb1ee7
commit 799f6eb588
11 changed files with 183 additions and 13 deletions
+3 -7
View File
@@ -42,12 +42,8 @@ async fn main() {
let config_container: HuskConfigContainer = Arc::new(Mutex::new(husk_config));
match commands::dispatch(args, config_container).await {
Ok(_) => {
println!("exiting...");
},
Err(e) => {
println!("exit with {:?}", e);
}
if let Err(e) = commands::dispatch(args, config_container).await {
eprintln!("exit with {:?}", e);
// XXX: actually return an error code
}
}