Skip to content

jamen/bp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bp

create and use boilerplate

bp <name> <dir> [--create]
  • name: Name of the boilerplate file you are creating or using
  • dir: The directory you are creating from or scaffolding to

If --create is provided, it will create the boilerplate, otherwise it scaffolds.

Installation

npm install --global jamen/bp

Usage

Here is some examples

Creating boilerplate

bp js js-boilerplate --create

js-boilerplate is a directory that contains any files + a boilerplate.json, which may contain:

{
  "prompts": [
    { "name": "data_name",
      "type": "text",
      "message": "kek?" },
    // ...
  ]
}

Using boilerplate

To scaffold just provide boilerplate file and destination:

bp js my-project

About

create and use boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published