Use published samples for init command.
Right now we have a single inline template we use for the init command, but it would be nice if we could publish template apps to npm or github and people could fork them and the CLI tool would let you choose from these.
Maybe we could make "samples" a part of the tool.
Like e.g. one could have an option to say magic-script init template=sample-ui-button using a "short name". It will fetch a code from https://github.com/magic-script/magic-script-samples.git that is related to "sample-ui-button" sample.
Or for any other case one could say magic-script init template=https://github.com/somebody/some-app-name.git. And it will try to initialize from an arbitrary git repo.
Thoughts?
I like it. We can do this after we finalize our template format. I think it's in flux too much recently. It's a really good idea. Simplifies the cli a little.
MXSCOMP-201