okflint.cli module

Unified CLI entry point for okflint.

Exposes four sub-commands Ruff-style:

okflint audit — inventory and descriptive diagnostic of a base okflint validate — normative compliance gate (exit 0/1) okflint validate-manifest — validate a manifest alone (exit 0/2, no base scan) okflint index — generate OKF §6 index.md files (dry-run by default)

okflint.cli.build_parser()[source]

Build the argparse parser with sub-commands.

Return type:

ArgumentParser

Returns:

The configured parser.

okflint.cli.main()[source]

Console scripts entry point: okflint <command>.

Return type:

None