Improve screen display of cmd.run in outputs #68569
non7top
started this conversation in
Feature Requests
Replies: 1 comment
-
|
I think having a way to specify a different identifier for the command for use in output than the actual command could be useful. (For this particular example I recommend using the mysql_query state though). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently cmd.run has the attribute
namewhich in fact acts as both name and the actual command to be executed(cmd). This results in badly formatted output of commands likestate.applywhen the command is multiline.This totally defeats the
--state-output=changeswhich is a rather compact variant of output, but wit those cmd runs, it's no longer compact.I would naturally expect the
nameattribute be the display name. Andcmdattribute to be the actual command which is only shown when it is going to be run (in yellow) or after apply. Alternately theidcould be used as a display name.Example
Beta Was this translation helpful? Give feedback.
All reactions