Skip to main content

writes

Function writes 

Source
pub fn writes(tools: &[&str]) -> String
Expand description

The sentence that says what writes the repository, given the MCP tools whose declared effect is a repository mutation, as the projection measured them from its registry.

use majordomus_cli::about;
assert_eq!(about::writes(&[]), "Nothing here writes to the repository.");
let text = about::writes(&["majordomus_a", "majordomus_b"]);
assert!(text.starts_with("Only majordomus_a, majordomus_b write to the repository"));