zeppelinos / zos-cli

:warning: Deprecated repo in favour of https://github.com/zeppelinos/zos
https://zeppelinos.org/
101 stars 25 forks source link

Add an `--upgrade-all` flag in push command #123

Open maraoz opened 6 years ago

maraoz commented 6 years ago

Developers currently have to do:

zos bump 0.1.1
zos push --network=ropsten
zos upgrade Foo --network=ropsten
zos upgrade Bar --network=ropsten
...
zos upgrade Zoink --network=ropsten

Add an --upgrade-all flag to push that automatically upgrades all contracts. With it you could just do:

zos bump 0.1.1
zos push --network=ropsten --upgrade-all
facuspagnuolo commented 6 years ago

Currently you can do zos upgrade --all instead too, however, it's a good idea to have an --upgrade-all flag for push.