(&self, ctx: &AppContext)
| 9 | #[async_trait] |
| 10 | impl Command for CleanCommand { |
| 11 | async fn execute(&self, ctx: &AppContext) -> Result<(), Box<dyn Error>> { |
| 12 | let task_manager = TaskManager::new(ctx)?; |
| 13 | let result = task_manager.clean_tasks(false, None).await?; |
| 14 | println!("Cleaned {} task(s)", result.deleted); |
| 15 | if result.skipped > 0 { |
| 16 | println!("Skipped {} with pending children", result.skipped); |
| 17 | } |
| 18 | Ok(()) |
| 19 | } |
| 20 | } |
nothing calls this directly
no test coverage detected