Open tangkong opened 1 year ago
happi update should work intuitively, or at least be clear about how to use it.
happi update
In the past, it was possible to pipe json into happi update. This appears to no longer be the case.
The following no longer works: cat my.json | happi update
cat my.json | happi update
but this works for him: happi update $(cat my.json)
happi update $(cat my.json)
Two-fold:
This was reported by @untzag (thank you!)
Some points revealed as I investigated. happi update:
cat my.json | xargs happi update
happi 2.3.0
Expected Behavior
happi update
should work intuitively, or at least be clear about how to use it.Current Behavior
In the past, it was possible to pipe json into
happi update
. This appears to no longer be the case.The following no longer works:
cat my.json | happi update
but this works for him:
happi update $(cat my.json)
Possible Solution
Two-fold:
Steps to Reproduce (for bugs)
cat my.json | happi update
Context
This was reported by @untzag (thank you!)
Some points revealed as I investigated.
happi update
:cat my.json | happi update
cat my.json | xargs happi update
Your Environment
happi 2.3.0