-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat: soroban init command #1156
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.
Nice addition to the CLI!
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.
👏🏻 This is looking nice. I tried it out locally and left some comments inline.
1cd7efe
to
db5ceeb
Compare
to allow user to initialize the project with a sample contract
Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
Co-authored-by: Willem Wyndham <wyndham@cs.unc.edu>
c10d79a
to
9ba0c2b
Compare
and don't overwrite existing files
this allows users to run contract init with out internet connectivity
I just pushed up a change that adds the template code in this repo with the increment example contract, which I hope addresses a couple of the outstanding pieces on this PR. d71493f and 4daf40b
Right now I just added the template code in @leighmcculloch @stellarsaur curious to see what you think! |
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.
Noticed two things that I hope are quick to fix!
ffc4d80
to
c2a2f22
Compare
What
This PR adds a
soroban init
command to the CLI to allow for initializing a new soroban rust project.Addresses #656
Why
The intention of this change is to make it easier to get up and running with a soroban project, and to allow for the Getting Started guide to be more concise by being able to remove some of the boilerplate Rust setup.
Known limitations
--frontend-template
) to use so that the project can be set up for frontend development as well. The first FE will be Astro, since we already have an example Astro project working.