wolfi-dev / wolfictl

A CLI used to work with the Wolfi OSS project
Apache License 2.0
57 stars 54 forks source link

Move file-risk-increase flag under diff command #1254

Closed egibs closed 1 month ago

egibs commented 1 month ago

The new file risk flags are flags for the diff command rather than global flags:

$ go run cmd/mal/mal.go diff -h
NAME:
   malcontent diff - scan and diff two paths

USAGE:
   malcontent diff [command options]

OPTIONS:
   --file-risk-change    Only show diffs when file risk changes (default: false)
   --file-risk-increase  Only show diffs when file risk increases (default: false)
   --help, -h            show help