Skip to main content

get_status

Function get_status 

Source
pub fn get_status(mana_dir: &Path) -> Result<StatusSummary, Error>
Expand description

Get a categorized project status summary.

Returns units grouped into: features, in-progress (claimed), ready to run, goals (no verify command), and blocked (dependencies not met).

§Errors

§Example

use mana_core::api::get_status;
use std::path::Path;

let summary = get_status(Path::new("/project/.mana")).unwrap();
println!("Ready: {}, Blocked: {}", summary.ready.len(), summary.blocked.len());