MetaMask / MetaMask/metamask-module-template

Create a CLI

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
31
Forks
18
Avg merge
11h 39m
Merged PRs (30d)
1

Description

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
```

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")

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the template files named in the issue, including package.json, README, and .github/PULL_REQUEST_TEMPLATE, then identify the project’s JavaScript CLI entry point. Done means a command accepting a project name creates a local directory, initializes Git, replaces the template name, removes the Examples section, and makes an Initial commit.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, javascript
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.