-
Notifications
You must be signed in to change notification settings - Fork 191
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
Semaphore CLI #191
Semaphore CLI #191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could successfully run all the operations of the CLI 👌
I suggest looking at https://github.com/SBoudrias/Inquirer.js
That way the cli is more interactive and more "fool proof" because you control better what the user can choose
Yep, it looks cool. We can definitely use Inquirer as soon as we'll have more templates in the |
Description
Setting up a project, although not particularly complex, can be a lengthy process for some people. A command line to initialize a Semaphore project can reduce the set-up time from a few minutes to a few seconds. The command line can also be useful for obtaining the data of groups deployed on the networks supported by Semaphore.
This PR adds a new
@semaphore-protocol/cli
package which can be used to initialize Semaphore projects and get groups' data. It also includes a mechanism to dynamically download templates as NPM packages. There is currently only one template (@semaphore-protocol/cli-template-hardhat
), but new ones can be integrated in the future.Related Issue
Closes #182
Does this introduce a breaking change?