Skip to main content

CLI_ROUTE_CONTRACT

Constant CLI_ROUTE_CONTRACT 

Source
pub const CLI_ROUTE_CONTRACT: &[(&[&str], &str)];
Expand description

Every fixed path above, paired with the verbs the CLI sends to it.

The verb is half the contract: a deleted route often still matches some parameterized sibling, and only the method it allows gives that away.