Skip to content

Create a CLI #205

@mcmire

Description

@mcmire

If we want to make a new project derived from this template, the only way is to go to this repo and pressing the "Use this template" button. But this will add a new repo to our GitHub organization right away, and sometimes we don't want to do that, especially if we're building a prototype and don't know if the new project something we'll want to keep long-term.

It would be nice if we could run something like:

yarn create @metamask/module <project-name>

This would act similar to create-react-app. That is, given the name of a project, it would:

  • create a new directory locally
  • initialize it as a Git repo
  • replace all instances of "metamask-module-template" (in package.json, README, etc.) with the name of the project
  • remove the "Examples" section from .github/PULL_REQUEST_TEMPLATE
  • add an initial commit (called "Initial commit")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions