! exec pint -l invalid --no-color config
! stdout .
stderr 'ERROR Execution completed with error\(s\) err="failed to set log level: ''invalid'' is not a valid log level"'

! exec pint -l invalid --no-color parse 'foo'
! stdout .
stderr 'ERROR Execution completed with error\(s\) err="failed to set log level: ''invalid'' is not a valid log level"'