Skip to content

Use published samples for init command. #10

Open

Description

@creationix

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.

Activity

  1. leoz commented on Feb 1, 2019

    @leoz
    Contributor

    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?

  2. kpiascik commented on Feb 1, 2019

    @kpiascik
    Contributor
  3. grozdanov commented on Mar 26, 2020

    @grozdanov
    Contributor

    MXSCOMP-201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions