Skip to main content

ensure_catalog

Function ensure_catalog 

Source
pub async fn ensure_catalog(
    config: &Config,
    http: &dyn HttpClient,
    out: &Output,
)
Expand description

Before a command that needs venues: when no catalog is installed, fetch it once (first use), saying so. Offline, it says how to get venues later and leaves the example file; the command then runs with what there is.