pub fn pick_project(
configured: Option<&str>,
open: &[OpenProject],
) -> Result<OpenProject, String>Expand description
The project to use: the configured one (its slug, id or name), else the only one there is. Otherwise the choice is the developer’s, and the error names what to choose from.