fix(cli): simplify running the CLI by hiding the maestro inside the implemtation #93
| @ -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>> { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user