mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-20 18:49:53 +00:00
Add support for "pretty" output (#195)
* feat: add pretty output format --------- Co-authored-by: William Yardley <wyardley@users.noreply.github.com>
This commit is contained in:
parent
9294e94a8d
commit
8bc9f42f39
4 changed files with 196 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ func FromFlags(progName string, args []string) (Config, string, error) {
|
|||
flags.BoolVar(&c.Summary, "summary", false, "print a summary at the end (ignored for junit output)")
|
||||
flags.IntVar(&c.NumberOfWorkers, "n", 4, "number of goroutines to run concurrently")
|
||||
flags.BoolVar(&c.Strict, "strict", false, "disallow additional properties not in schema or duplicated keys")
|
||||
flags.StringVar(&c.OutputFormat, "output", "text", "output format - json, junit, tap, text")
|
||||
flags.StringVar(&c.OutputFormat, "output", "text", "output format - json, junit, pretty, tap, text")
|
||||
flags.BoolVar(&c.Verbose, "verbose", false, "print results for all resources (ignored for tap and junit output)")
|
||||
flags.BoolVar(&c.SkipTLS, "insecure-skip-tls-verify", false, "disable verification of the server's SSL certificate. This will make your HTTPS connections insecure")
|
||||
flags.StringVar(&c.Cache, "cache", "", "cache schemas downloaded via HTTP to this folder")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue