Open T1mL3arn opened 1 year ago
I don't agree with using the templateName arg to specify the source path
Why not? Using the same arg as a source for the template (path or name) looks natural to me. E.g. in git we can use checkout
with commit hashes and branch names.
I don't agree with using the templateName arg to specify the source path
Why not? Using the same arg as a source for the template (path or name) looks natural to me. E.g. in git we can use
checkout
with commit hashes and branch names.
how is it natural to use an arg for a purpose completely unrelated to it's name, why not just use a new arg
how is it natural to use an arg for a purpose completely unrelated to it's name
So, we are talking about naming here. It could be named like template-source
then. Again, with git checkout
it is not a problem, we can do
git checkout <branch>
git checkout <commit>
Why can't we do
flixel tpl <template-name>
flixel tpl <template-path>
# or more general
flixel tpl <template-source>
?
Also, maybe in the first place, there is no need in template-name ? ATM Flixel has only default template and no means to create other (convenient at least).
closes #77
Now it is possible to do this:
which creates in
.
(current dir) a project with name "Marevo" from template found in../platformer-template
.