0.1.5 • Published 4 years ago

frst-cli v0.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

frst-cli

A template downloader cli.

Getting Started

$ npx frst-cli create <project-name>
$ cd <project-name>
$ npm install
$ npm run dev

or Yarn:

$ yarn create frst-cli create <project-name>
$ cd <project-name>
$ yarn
$ yarn run dev

or add globally:

$ npm install -g frst-cli
$ frst create <project-name>

Customization

Edit lib/config/repos.js and lib/config/inquirerConfig.js to add your custom repositories. Then you can download your own template repositories.

e.g.

// inquirerConfig.js
module.exports = [
  {
    name: 'React',
    value: 'react'
  }
]

// repos.js
module.exports = {
  react: 'https://github.com/react-boilerplate/react-boilerplate.git'
}