frst-cli

0.1.5 • Public • Published

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'
}

Readme

Keywords

none

Package Sidebar

Install

npm i frst-cli

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

10.7 kB

Total Files

9

Last publish

Collaborators

  • gh_cheng