soroban-cli
soroban-cli copied to clipboard
CLI: Reorganize bump/restore into three subcommands each
trafficstars
What problem does your feature solve?
Makes it clearer to the user what the options are when using the commands.
What would you like to see?
soroban contract restore/bump (data/contract/code)
Also have contract bumping also bump the code. This would prevent users from needing to do two actions when it's always the case that the contract's code should not expire before the contract.
What alternatives are there?
Keep using the two commands with less clear mutually exclusive flags.
Latest changes in main no longer have bump as a command, so this would apply to the restore command
The bump subcommand was renamed to extend, so I believe this issue still applies to both.