pub fn choose(
observed: &Observed,
manager: Option<Manager>,
venue: Option<Venue>,
) -> Result<Pair, RkError>Expand description
The pair one add or sync serves, from the flags and the target.
A manager the flag names wins. Otherwise the one present manager is chosen, and a target with no manager file takes the flake, the pair the seeds were first written for. Two present managers need the flag.
ยงErrors
Returns RkError::Usage where the manager is ambiguous.