Skip to main content

export_contract

Function export_contract 

Source
pub fn export_contract(cmd: &mut Command, contract: &EnvContract)
Expand description

Apply the env contract to cmd. Clears any pre-existing READY_SET_* variable from the child env that this function does not explicitly set, so plugins never see stale values from the calling shell.