splunk / contentctl

Splunk Content Control Tool
Apache License 2.0
80 stars 20 forks source link

Add verbose error option #166

Closed pyth0n1c closed 2 months ago

pyth0n1c commented 2 months ago

By default, output shorter, more meaningful message when running contentctl operations like validate, build, etc.

Only show longer error outputs when the --verbose command line argument is given.

This makes it much easier to understand why your operations are failing as most errors are generated from Pydantic Exceptions around improperly constructed content.