Open caseyyee opened 7 years ago
It seems that any template alias with "-" in the name doesn't work.
I could be wrong, but I don't think that's the problem here.
the directory name is aframe-model-template
. and it's because its alias is not model-viewer
; it's model
.
or are you referring to something else? obviously, I should make the error messages more helpful (like git
does); for that, see issue #2. sorry for the confusion!
But when I did try to change the alias in template/index.json
to model-viewer
, that's the error I got. Using new my-model --template model
seemed to work though. Currently in the repo it's set to just model
which is fine.
https://github.com/aframevr-userland/aframe-cli/compare/hyphen-test
I just created a new template one with a hyphen -
in it, and it worked fine. can you show me a branch?
I'll try again. could be some configuration error on my part.
It seems that any template alias with "-" in the name doesn't work.
Just using
--template model
works though. Not sure why?