It'd be nice to improve the user experience with one or more of the following suggestions:
Add an --update flag that saves the updates plutus.json back in place; we need to write out to tmp first because otherwise it truncates the file before aiken reads it.
allow applying multiple parameters at once with aiken apply -v a.mint ${PARAM_A} ${PARAM_B} (this actually might be possible, i'm not sure!)
allow applying to multiple validators at once with aiken apply -v a.mint -v a.spend ${PARAM_A} (or perhaps just -v a or something similar?)
Right now, if I have a multivalidator with validator parameters, it's quite awkward to apply all of the arguments correctly for the plutus.json:
It'd be nice to improve the user experience with one or more of the following suggestions:
--update
flag that saves the updates plutus.json back in place; we need to write out to tmp first because otherwise it truncates the file before aiken reads it.aiken apply -v a.mint ${PARAM_A} ${PARAM_B}
(this actually might be possible, i'm not sure!)aiken apply -v a.mint -v a.spend ${PARAM_A}
(or perhaps just-v a
or something similar?)