swanky-cli
swanky-cli copied to clipboard
Proposal: Rename `init` to `new`.
I propose renaming init
command to new
. There are two reasons for this that come to my mind:
- Similarity with
cargo contract
-- it usesnew
for generating starting package/template for the project. - Sometimes, users may already have a working smart contract that they wish to deploy using
swanky-cli
. It's currently impossible to "just"init
a project - i.e. generate swanky config file. This would match the functionality ofgit init
as well.
I can do the work, just wanted to ask for your opinions first.
I agree.
Another reason is we also have swanky contract new
command, so this would be more consistent.
Please proceed with the PR 👍