Skip to main content

run

Function run 

Source
pub fn run(path: Option<String>, json: bool, deny: bool)
Expand description

Main entry point for the design:lint command.

Walks *.json files under path (default src/views) without following symlinks (confining the walk to the given root), lints each ferro-json-ui spec, and prints findings grouped by file in human-readable mode.

--json emits a flat JSON array of FileFinding suitable for programmatic consumption. --deny causes a non-zero exit when any warning-level finding exists (info findings never fail).