repopilot 0.11.0

Local-first CLI for repository audit, architecture risk detection, baseline tracking, and CI-friendly code review.
Documentation
1
2
3
4
5
6
7
8
9
use crate::knowledge::bundled_knowledge;
use crate::knowledge::model::FrameworkProfile;

pub fn profile_by_id(id: &str) -> Option<&'static FrameworkProfile> {
    bundled_knowledge()
        .frameworks
        .iter()
        .find(|framework| framework.id == id)
}