0.0.1 • Published 8 years ago

booster-pack v0.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Booster Pack CLI

Booster Packs are small concise boilerplate files (eg. React component js/scss).

Installation

npm install -g booster-pack

Usage

Commands

ls

Lists booster-pack aliases and their git urls.

booster-pack ls

use

Create boilerplate files inside a directory with the given name in cwd.

booster-pack use <alias> <name>

save

Create an alias for a booster pack.

booster-pack save <alias> <github_repo>

remove

Remove an alias.

booster-pack remove <alias>

Getting booster packs

  1. Save via cli
booster-pack save <alias> <github_repo>
  1. Manually, you can edit ~.boosterpacksrc.json
{
  "boosterPacks": {
    <alias>: <github_repo>
  }
}

Creating booster packs

Booster packs are just git repos that consists of your boilerplate files. Upload onto github and just save it locally as an alias. I also added a very simple templating engine so it can replace the variable name inside your boilerplate files. example.