cli

Point d’entrée CLI unifié — sous-commandes audit et validate.

Unified CLI entry point for okflint.

Exposes three sub-commands Ruff-style:

okflint audit — inventory and descriptive diagnostic of a base okflint validate — normative compliance gate (exit 0/1) 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