cli
cli copied to clipboard
network: refactor the Prepare func
to only use Init, maybe with options to make it behave differently.
Because there are duplicated:
- https://github.com/tendermint/starport/blob/f9442e3/starport/services/network/networkchain/init.go#L26
- https://github.com/tendermint/starport/blob/55ca2d3/starport/services/network/networkchain/prepare.go#L54
And code followed by these lines.