The Wayback Machine - https://web.archive.org/web/20230328085019/https://github.com/sxzz/create
Skip to content

sxzz/create

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

@sxzz/create npm

Command-line for creating projects from templates.

Install

npm i -g @sxzz/create

Usage

create [path]
# e.g: create hello-world

Configuration

Most formats of configuration are supported. The configuration file is located in $HOME/.config/create.config.[js,ts,json,yml,yaml]

TypeScript Schema

URL format: repo[/subpath][#ref]. See examples.

Run create config to modify config.

git:
  init: true # optional, defaults to true

templates:
  - name: Library # must be unique
    # color: '#008800' # optional
    children:
      - name: TypeScript
        color: '#3178c6'
        url: 'sxzz/node-lib-starter' # remote URL or local path
  - name: Web App
    url: xxxxx
    git:
      init: false # overwrite global config

Sponsors

Credits

License

MIT License © 2022 三咲智子

About

Command-line for creating projects from templates.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Contributors 4

  •  
  •  
  •  
  •