@sxzz/create
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

@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-PRESENT 三咲智子

Readme

Keywords

none

Package Sidebar

Install

npm i @sxzz/create

Weekly Downloads

2

Version

0.7.0

License

MIT

Unpacked Size

18.6 kB

Total Files

9

Last publish

Collaborators

  • sxzz