run-action should support a '--format=plain' that just passes the content out
Bug #1769062 reported by
John A Meinel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Wishlist
|
Ian Booth |
Bug Description
We have "juju run-action --wait" which is a nice way to invoke a command and grab the output without going through 'juju show-action-
However, both of those commands only output yaml/json. Which means if you want to output something to be processed (certificate file, etc) you have to have some way to unwrap it.
While we might end up with multiple outputs from a single run command, that's probably still better to have a way to just flatten it.
Changed in juju: | |
milestone: | none → 2.7-beta1 |
assignee: | Tim McNamara (tim-clicks) → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
(noted during a demo where actually getting everything to work nicely had lots of copy & paste and | jq and other workarounds, when it should just be a single command.)