pub fn run_architecture(
options: &ArchitectureOptions,
) -> Result<ArchitectureProgrammaticOutput, ProgrammaticError>Expand description
Run the analysis of fallow architecture and return typed API output
before JSON: import cycles, boundary violations and rule-pack policy
violations.
The selectors keep one kind each, and no selector keeps all of them, as on
the CLI. The output is the dead-code envelope with the architecture
schema version, the architecture _meta and next steps that name
fallow architecture.
ยงErrors
Returns the same structured errors as run_dead_code.