You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
Activity
leoz commentedon Feb 1, 2019
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?
kpiascik commentedon Feb 1, 2019
grozdanov commentedon Mar 26, 2020
MXSCOMP-201