howardroark / pollinate

Template your base files and generate new projects from Git(Hub).
The Unlicense
225 stars 16 forks source link

Allow specifying target directory as cli input #31

Closed howardroark closed 8 years ago

howardroark commented 8 years ago

As of now the output directory is equal to name. It would be nice if the tool acted a bit more like the git cli and let you specify the target as an optional second input...

$ pollinate howardroark/webapp newproject
$ pollinate howardroark/webapp .
$ pollinate howardroark/webapp newproject data.json

If the second input is not a file/json/url then assume it is a target and then check the 3rd input.