Skip to main content

pick_project

Function pick_project 

Source
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.