Skip to main content

run_feature_flags

Function run_feature_flags 

Source
pub fn run_feature_flags(
    options: &FeatureFlagsOptions,
) -> Result<FeatureFlagsProgrammaticOutput, ProgrammaticError>
Expand description

Run feature-flag analysis and return typed API output before JSON.

§Errors

Returns a structured programmatic error for invalid options, config load failures, git changed-file failures, or analysis failures, and FALLOW_CANCELLED when the caller’s cancellation token is set. The scan observes the token at its entry, on both sides of the parse loop, and at the stage boundaries of the dead-code correlation behind it.