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

Use skeletor as a base for other packages #38

Open
tobiasBora opened this issue Jan 8, 2018 · 2 comments
Open

Use skeletor as a base for other packages #38

tobiasBora opened this issue Jan 8, 2018 · 2 comments

Comments

@tobiasBora
Copy link

Hello,

First, thank you for your great tool. I'm quite new to elisp, so my question may be stupid: I'd like to know if there is an easy way to use skeletor inside another package to create a skeletor-create-project-at-like function that would be specific to my package, and that would contain only it's own set of template (these template would be independent of the one defined by the user and the default skeletor templates). One dirty solution would be to clone this repo, and just change the templates, but it's not really fair, so I'd like to know if you have a better solution for me.

Thank you!

@chrisbarrett
Copy link
Owner

Hey there!

What are you trying to implement? Do you want a command that prompts you to instantiate from only a limited set of templates? Or something else?

@tobiasBora
Copy link
Author

I guess something like that yes. The idea is that I'm thinking to do an android mode that would allow the user to choose a template in a given set of template that are in a given folder. Because there are several kind of android projects, I also would like to be able to put these template in different folders, for example if the user wants to set up a project for a mobile, a TV, a watch... I would have one folder for the mobile templates, one folder for the TV templates, one folder for the watch templates... So basically a function like (skeletor-create-project-from-at <templates folder>) would be great.

Thank you!

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

No branches or pull requests

2 participants