Activity log for bug #1886654

Date Who What changed Old value New value Message
2020-07-07 11:48:49 Simon Richardson bug added bug
2020-07-07 11:51:14 Simon Richardson description Currently Juju doesn't handle unix pipes in a very nice way, in fact it goes out of it's way to not be very friendly about this. Other peer application CLI with in the same area operation scope handle this better (kubernetes, hashicorp products). For instance, the following should just work... juju model-config | juju model-config -m other-model - Operators whom we're targeting with product expect are familiar with this (see k8s as an example) and will have set expectations. Currently with juju we have to resort to xargs a lot to get around some of this... It would be nice if the concept could be pushed to other commands: curl https://juju.is/bootstrap/lxd | juju bootstrap # lxd manifest for juju bootstrap Other examples: curl https://some.url/charm | juju deploy - echo "file.yaml" | juju scp 0 | grep "key word" echo "file.yaml" | juju scp 0 | sed -i "//" | juju scp 0 "file.yaml" - # not sure if this works, but they should. cat script.sh | juju run - cat script.sh | juju ssh - Currently Juju doesn't handle unix pipes in a very nice way, in fact it goes out of it's way to not be very friendly about this. Other peer application CLI with in the same area operation scope, handle this better (kubernetes, hashicorp products)! For instance, the following should just work...     juju model-config | juju model-config -m other-model - Operators whom we're targeting with product expect are familiar with this (see k8s as an example) and will have set expectations. Currently with juju we have to resort to xargs a lot to get around some of this... It would be nice if the concept could be pushed to other commands:     curl https://juju.is/bootstrap/lxd | juju bootstrap # lxd manifest for juju bootstrap Other examples:     curl https://some.url/charm | juju deploy -     echo "file.yaml" | juju scp 0 | grep "key word"     echo "file.yaml" | juju scp 0 | sed -i "//" | juju scp 0 "file.yaml" -     # not sure if this works, but they should.     cat script.sh | juju run -     cat script.sh | juju ssh -
2020-07-08 10:24:05 Simon Richardson juju: status New Triaged
2020-07-08 10:25:16 Simon Richardson tags cli usability
2022-11-03 16:30:37 Canonical Juju QA Bot juju: importance Undecided Low
2022-11-03 16:30:39 Canonical Juju QA Bot tags cli usability cli expirebugs-bot usability