-
Notifications
You must be signed in to change notification settings - Fork 63
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
copy or clone command for cli #108
Comments
Could this be used to copy a blueprint, and inject defaults, partials or settings into the custom copy? |
Hi, @anithri I'd like to work on this feature. I just have a couple of questions for clarification.
Do you think there is any advantage of being able to clone a specific blueprint? For example: |
Well, I misspoke if I implied copy/cloning all blueprints. My intention was to be able to copy a blueprint into the local blueprints directory to allow for easier customization. I can't actually see the value of The danger points as I see it are:
The api for getting blueprint names and paths is still a bit in flux, as is the proper place for setting your blueprint path. I expect to see that soon, we're just about done with how we're going to read settings files and blueprint paths. I'm hoping to have that ready for review in the next day or two. Thanks for the contribution! |
I was getting it wrong: I was thinking that I realized my mistake.
Is not the blueprint's path always the directory I might be able to read paths and names following that guide. Or How are you planning the API to get the names and paths? I'm looking forward to contribute with this feature, It's pretty interesting how you guys are building this! |
I think it should be able to find any blueprint in the blueprints search path, and then copy that blueprint dir into the users "destination" blueprint dir. The ability to clone these means that the user can customize a bp to his own tastes. By default, the cli work look for any "blueprints" or ".blueprints" directories that exist in the same directory as one of the you're rc file will look something like
Note: api for settings is still in flux, property names may change. but there will be something that does those exact things |
Got it! I'll start experimenting with this, I'll try to cover what I can do without the API. Then I should be able to plug the api in and ship it. |
blueprints clone #copy?
which will copy blueprints into a local directory to encourage customizing blueprints for your use case.Blueprints will be more useful if we make it much easier to take existing blueprints and copy them for the user to customize.
The text was updated successfully, but these errors were encountered: