Skip to main content

route

Function route 

Source
pub fn route(path: &[String]) -> String
Expand description

The route of a command path: ["majordomus", "bench", "coverage"] becomes /docs/cli/bench/coverage/, and the root becomes /docs/cli/. The one rule; every other consumer reads CommandDoc::route rather than repeating it.