mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-08-18 20:07:24 +00:00
13 lines
239 B
Go
13 lines
239 B
Go
package flags
|
|
|
|
// AuditLevel returns the resolved audit level (none, standard, verbose).
|
|
func AuditLevel(ro *CliRootOpts) string {
|
|
if ro == nil {
|
|
return "none"
|
|
}
|
|
if ro.AuditLevel == "" {
|
|
return "standard"
|
|
}
|
|
return ro.AuditLevel
|
|
}
|