Expand description
Metric and rule definitions for explainable CLI output. Metric and rule definitions for explainable CLI output.
Provides structured metadata that describes what each metric, threshold,
and rule means, consumed by the _meta object in JSON output and by
SARIF fullDescription / helpUri fields.
Structs§
- RuleDef
- Rule definition for SARIF
fullDescriptionand JSON_meta. - Rule
Guide - Extra educational content for the standalone
fallow explain <issue-type>command. Kept separate fromRuleDefso SARIF and_metapayloads remain compact while terminal users and agents can ask for worked examples on demand.
Constants§
Functions§
- coverage_
analyze_ meta - Build the
_metaobject forfallow coverage analyze --format json --explain. - coverage_
setup_ meta - Build the
_metaobject forfallow coverage setup --json --explain. - rule_
by_ id - Look up a rule definition by its SARIF rule ID across all rule sets.
- rule_
by_ token - Look up an issue type from a user-facing token.
- rule_
docs_ url - Build the docs URL for a rule.
- rule_
guide - Return worked-example and fix guidance for a rule.
- run_
explain - Run the standalone explain subcommand.
- security_
meta - Build the
_metaobject forfallow security --format json --explain.