Class ApprovedFileInventoryCli

java.lang.Object
org.approvej.approve.ApprovedFileInventoryCli

@NullMarked public final class ApprovedFileInventoryCli extends Object
Thin CLI wrapper for the approved file inventory.

All business logic lives in ApprovedFileInventory. This class is responsible only for formatting domain results into CLI output with appropriate exit codes.

  • Method Details

    • main

      public static void main(String[] args)
      CLI entry point for build tool plugins.
      Parameters:
      args - --find-leftovers to list leftovers, --cleanup to delete them, --approve-all to approve all unapproved files, --review-unapproved to review all unapproved files