create-make

0.4.0 • Public • Published

create-make

An advance CLI tools for creating new project from GitHub repository.

Usage

To use this CLI tools on your system you need to install Node.js and optionally you can install yarn if you want to use the second command below.

npx create-make

or

yarn create make

Config

Linux:

 /home/$YOUR_USER/.local/share/create-make/config.json 

MacOS:

 /Users/$YOUR_USER/Library/Preferences/create-make/config.json 

Windows:

 C:\Users\$YOUR_USER\AppData\Roaming\create-make\config.json 

Example of a config.json to use with your own custom template repo for creating new project

{
  "$schema": "./schema.json",
  "categories": {
    "YOUR_CATEGORIES_NAME": {
      "YOUR_TEMPLATE_NAME": {
        "repo": "git address of YOUR_TEMPLATE for clone",
        "args": [
          {
            "str": "a string in YOUR_TEMPLATE files that you want to replace by project name that user enter",
            "value": "projectName"
          }
        ]
      }
    }
  }
}

Note: Your custom categories and templates will show up in Others part of Select a category

Package Sidebar

Install

npm i create-make

Weekly Downloads

7

Version

0.4.0

License

MIT

Unpacked Size

29.1 kB

Total Files

6

Last publish

Collaborators

  • z-nerd