booster-pack

0.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i booster-pack

Weekly Downloads

3

Version

0.0.1

License

ISC

Last publish

Collaborators

  • esayemm