Skip to main content

contribute

Function contribute 

Source
pub fn contribute(registry: Option<&CapabilityRegistry>) -> Contribution
Expand description

Walk the built command line into nodes, joined against the capability registry.

registry may be None: the graph is buildable without one, which is what keeps the completion path off the index. The join, and the errors it can report, are then absent rather than wrong — the caller that wants them passes a registry.