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

Add super basic support for loading a non-default template #14

Closed
cowboy opened this issue Dec 5, 2012 · 3 comments
Closed

Add super basic support for loading a non-default template #14

cowboy opened this issue Dec 5, 2012 · 3 comments

Comments

@cowboy
Copy link
Member

cowboy commented Dec 5, 2012

This would probably help a lot. Maybe allow something like this:

grunt-init /path/to/tasks/init/custom-template.js

To do what this does:

grunt-init --tasks /path/to/tasks custom-template

Which is to support a custom init template.

@tkellen
Copy link
Member

tkellen commented Dec 5, 2012

Are we still supporting loading from ~/tasks ?

@cowboy
Copy link
Member Author

cowboy commented Dec 5, 2012

Init templates can still be placed in ~/.grunt/tasks/init/. And an init template can be specified on the command line to grunt-init like grunt-init --tasks /path/to/tasks custom-template. It's just a bit awkward.

@cowboy
Copy link
Member Author

cowboy commented Dec 6, 2012

This was added in 7460e9a and will be supported when that branch is merged.

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

No branches or pull requests

2 participants