Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Rename init to new. #50

Open
deuszx opened this issue Dec 12, 2022 · 1 comment
Open

Proposal: Rename init to new. #50

deuszx opened this issue Dec 12, 2022 · 1 comment

Comments

@deuszx
Copy link

deuszx commented Dec 12, 2022

I propose renaming init command to new. There are two reasons for this that come to my mind:

  1. Similarity with cargo contract -- it uses new for generating starting package/template for the project.
  2. 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 of git init as well.

I can do the work, just wanted to ask for your opinions first.

@codespool
Copy link
Collaborator

I agree.
Another reason is we also have swanky contract new command, so this would be more consistent.
Please proceed with the PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants