cli-v3.1.0

cortezaproject/cortezacli-v3.1.0Jun 21, 2026by pbakaus

AI Summary

This release introduces inline ignore comments to waive detector findings in standalone documents and improves error handling for unknown commands in the CLI.

Key Highlights

  • Inline ignore comments for waiving findings in exported or standalone documents.
  • New `impeccable-disable-line` and `impeccable-disable-next-line` scopes.
  • Clearer error messages and usage hints for unrecognized subcommands.

New Features

  • Inline ignore markers using comment syntax with optional reasons.
  • CLI flag `--no-inline-ignores` to bypass inline markers.

Full Release Notes

- **Inline ignore comments.** Waive a detector finding with an in-file comment that travels with the file, for exported or standalone documents where `.impeccable/config.json` is not present. `impeccable-disable <rule>` covers the whole file; `impeccable-disable-line` and `impeccable-disable-next-line` scope to one line. The marker works in any comment syntax, takes an optional reason, and is bypassed with `--no-inline-ignores`.

- **Clearer errors on unknown commands.** An unrecognized subcommand now fails loudly with a usage hint instead of silently doing nothing.