Skip to main content

webdev_precondition

Function webdev_precondition 

Source
pub async fn webdev_precondition(
    api: &dyn GatewayApi,
    project: &str,
) -> Result<(), CoreError>
Expand description

The cheap precondition every WebDev-DEPENDENT command runs first (05-04’s tags family onward): probe the canonical tags route and refuse with the actionable matrix — absent → routes_not_deployed (exit 6, hint names ign webdev deploy), version mismatch → route_version_mismatch (hint direction-aware: redeploy or update ign), unlicensed → webdev_unlicensed. No auto-upgrade magic.