UNPKG

builder-cli

Version:

A front-end builder

43 lines (27 loc) 833 B
# builder-cli [![npm](https://img.shields.io/npm/v/builder-cli.svg)](https://www.npmjs.com/package/builder-cli) [![Build Status](https://travis-ci.org/lbwa/builder-cli.svg?branch=master)](https://travis-ci.org/lbwa/builder-cli) A simple CLI for scaffolding front-end projects. ## Feature - Support download remote templates by custom or default ## Installation - Using `yarn` ```bash yarn global add builder-cli ``` - Using `npm` ```bash npm install -g builder-cli ``` ## Usage ```bash builder init <project-name> # for example builder init my-awesome-project ``` ## Download templates ```bash # Using default templates builder init <project-name> # Using custom templates builder init <project-name> <owner/repo> ``` ***notice***: You don't need to add `<template-name>`, if you want to use default remote templates.