Can RunCmd verbosity level be set in a target to a higher verbosity level? #382
Unanswered
sheldonhull
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to use a command like:
var yarn = sh.RunCmd("yarn")
while still forcing verbosity level?For example in most cases I just want the result, but for linting I want all the stdout.
In this task, I'd expect to run mg.SetVerbose(true)` or something like this to force in this scope the verbosity level to act as if I'd passed in the verbose flag for output.
Otherwise, most of my tasks benefit from the syntax sugar of
sh.RunCmd
, but I have to still flip toRunV
to force more output.Beta Was this translation helpful? Give feedback.
All reactions