fix(cli): simplify running the CLI by hiding the maestro inside the implemtation #93

Merged
letian merged 3 commits from simplify-cli into master 2025-08-04 20:59:10 +00:00
Showing only changes of commit eab27b1f66 - Show all commits

View File

@ -103,7 +103,7 @@ pub async fn run<T: Topology + Send + Sync + 'static>(
result
}
pub async fn init<T: Topology + Send + Sync + 'static>(
async fn init<T: Topology + Send + Sync + 'static>(
maestro: harmony::maestro::Maestro<T>,
args_struct: Option<Args>,
) -> Result<(), Box<dyn std::error::Error>> {