eos
eos copied to clipboard
cleos should be able to read JSON from file for any command which takes JSON
Currently cleos push action and cleos push transactions doesn't not allow to to provide JSON file. Maybe there are other places like that.
ATC: Use push action and push transaction passing in both json strings and files with json and verify both behave as expected
Currently, we can do:
programs/cleos/cleos push action -j currency transfer "$(cat test.json)" --permission currency@active
to pass in the contents of test.json
ATC passed.