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

CLI to create-filecoin-app #12

Closed
xBalbinus opened this issue Sep 10, 2024 · 6 comments
Closed

CLI to create-filecoin-app #12

xBalbinus opened this issue Sep 10, 2024 · 6 comments
Assignees

Comments

@xBalbinus
Copy link
Contributor

No description provided.

@xBalbinus xBalbinus converted this from a draft issue Sep 10, 2024
@xBalbinus xBalbinus moved this to Ready in FIL-Frame Sep 10, 2024
@xBalbinus
Copy link
Contributor Author

The CLI should preferrably have flags for which 'kind' of template we want to generate, and proceed to put in hooks or not for each feature case.

@lordshashank
Copy link
Collaborator

Yeah so my point here is we can develop a universal scaffold type solution with all the features we have regarding fvm, now when users would be using cli to create there app they can choose among them like we do with npx create next app and get options to choose among typescript project, eslint ,etc.
This way we can have options like storacha, deal client, deal client with raas, akave, lighthouse, etc and builders would get the features or all the features if they want.

@temi0x
Copy link
Collaborator

temi0x commented Oct 17, 2024

What flags should we have from the onset @xBalbinus?
The implementation I have currently has just a simple command (create-filecoin-app init my-app)

@xBalbinus
Copy link
Contributor Author

https://docs.google.com/document/d/1KE7EGbbSIOrRXQRisc1C4kHOtD62BOPp3s1B8HxCfIA/edit?tab=t.0#heading=h.lbznbjhfs6j1

@temi0x prepare for the following type of extension in your code for now; but for the onset you can feel free to just have one simple command. Effectively, it should end up looking something like:

npx create-filecoin-app -<flag_name> feature-branch-name

@temi0x
Copy link
Collaborator

temi0x commented Oct 18, 2024

@xBalbinus I opened a PR that fixes this: #38

@xBalbinus xBalbinus moved this from Ready to In review in FIL-Frame Oct 21, 2024
@xBalbinus
Copy link
Contributor Author

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

No branches or pull requests

3 participants