-
Notifications
You must be signed in to change notification settings - Fork 53
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
more generator options #31
Comments
@lee2sman Thanks for the suggestions. I think the first one can still be discussed, while the second feature is already on the road map :D When I need to quickly create little sketches my workflow is like:
I always create new project in Collection, run the server and open it with Collection GUI. Therefore, they import the same p5.js libraries so don't even need CDN or generate their own p5 files. I'm not sure what your workflow like or maybe you found Collection is hard to use? So far CDN option is not a convincing and necessary option to me. Let me know if you have any idea or I missed something :) |
That makes a lot of sense after hearing your workflow. I don't use collections since I have a really different file organization structure on my computer. I have lots of locations for p5 sketches. And I often need to email or upload just a sketch.js - not a complete collection or bundle. I'm using Atom or Neovim most of the time btw. |
Ah I see. I think the feature discussed in issue #24 meets your requirements. Because your case is more advanced and customized, it should be done by Custom Template command, not by p5-manager's default command. The custom template workflow may look like (WIP, just my imagination):
I hope that could cover most of your requirements (?) Please follow that issue to help us make good stuff 😄 |
You are right! That would do it! :) |
@chiunhau Hello! I've been using the p5 manager for a while and I like it very much. The only issue is that I couldn't set the |
I am thinking of 2 common workflow options that would be great to include.
CDN option
-c
flag could stand for CDN. Example syntaxp5 g -c SKETCHNAME
How to include additional libraries
p5 g -b -i="P5Play" SKETCHNAME
The text was updated successfully, but these errors were encountered: