Is it possible to use a template from the command line?
Since there are no fodler templates, I have created a simple batch file to copy files from a "seed" folder and name them appropriately. The next step would be to actually utilize my existing file templates. Is this possible?
Please sign in to leave a comment.
Hi there,
Please clarify your requirements / what you want to do.
Well I've created a batch file that creates a folder structure for my Polymer elements.
It would be awesome if I could replace some of the copy commands with something like "template polymer %target%.html" which would be like right-clicking and selecting "New > Polymer" which executes the following template I have created:
I hope this makes sense.
Basically, instead of right-clicking and selecting new > template, I want to be able to do it from a command.
That is not currently possible. Check tickets in that another thread: http://devnet.jetbrains.com/message/5520585#5520585
I may only suggest to implement something like that via Phing or alike (Phing has enough built-in tasks that can handle file copying as well as file modifications based on certain patterns).