Skip to content

v0.4.1: typer CLI, --json flag, PKGBUILD CI

Choose a tag to compare

@emiliano-go emiliano-go released this 25 Jul 15:33
v0.4.1
3aabd6c

TL;DR

CLI migrated from argparse to typer with --json flag on all commands, PKGBUILD build+install CI, and AUR install docs.

Added

  • --json flag on all commands: review, inspect, history, seed-db, lint-rules, config {show,set,sync-rules}, and override {list,add,rm} now accept --json for machine-readable output.
  • PKGBUILD build+install CI: new workflow runs inside archlinux:latest, builds and installs the package via makepkg -si, and verifies trustsight --version succeeds.
  • AUR install instructions: added to README and getting-started guide.

Changed

  • CLI framework migration: argparse replaced with typer. Help text is auto-generated from type annotations, callbacks are type-annotated functions, and the entry point was renamed from main to app.
  • CLI tests: updated from patch(sys.argv) to typer.testing.CliRunner.

Fixed

  • Mirror-check CI trigger: added missing push event for corpus.lock and benign-corpus paths.

Stats

  • 3 commits since v0.4.0
  • 610 tests, all passing
  • Package version 0.4.1