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

Custom templates #109

Open
josegonzalez opened this issue Jun 10, 2016 · 2 comments
Open

Custom templates #109

josegonzalez opened this issue Jun 10, 2016 · 2 comments

Comments

@josegonzalez
Copy link
Contributor

It would be great if you could throw pleaserun at a directory to set the files that it should template out. This would allow users to:

  • override built-in templates (maybe I like doing my upstart scripts differently and need pids)
  • prototype new platform support

Thoughts? I'm not sure quite how it would work, maybe "globbing" with exact name matching or similar?

@jordansissel
Copy link
Owner

I like the idea. Pleaserun already searches multiple locations for a given
template. Should be easy to add a configurable location for overrides and
extras.

On Thursday, June 9, 2016, Jose Diaz-Gonzalez notifications@github.com
wrote:

It would be great if you could throw pleaserun at a directory to set the
files that it should template out. This would allow users to:

  • override built-in templates (maybe I like doing my upstart scripts
    differently and need pids)
  • prototype new platform support

Thoughts? I'm not sure quite how it would work, maybe "globbing" with
exact name matching or similar?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#109, or mute the thread
https://github.com/notifications/unsubscribe/AAIC6mjM1_0JHfa-dRyZ3VmgRidGfGRxks5qKLyLgaJpZM4IyjKN
.

@josegonzalez
Copy link
Contributor Author

Looks like we could just prepend a path here if specified as an arg. Not sure how to pull out the args and use them there, but maybe something like --template-path could work?

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