Skip to main content

template_state

Function template_state 

Source
pub async fn template_state(
    store: &TemplateStore,
    id: &str,
) -> CliResult<TemplateState>
Available on crate feature templates only.
Expand description

The template’s full release state (status, stable / previous / newest, channel pointers). Errors only if the registry itself is unreadable.