https://github.com/jamen/bp
create and use boilerplate
https://github.com/jamen/bp
Last synced: about 1 year ago
JSON representation
create and use boilerplate
- Host: GitHub
- URL: https://github.com/jamen/bp
- Owner: jamen
- License: mit
- Created: 2017-05-04T01:00:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-08T10:48:06.000Z (about 9 years ago)
- Last Synced: 2025-02-08T01:48:24.818Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# bp
> create and use boilerplate
```sh
bp [--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
```sh
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:
```js
{
"prompts": [
{ "name": "data_name",
"type": "text",
"message": "kek?" },
// ...
]
}
```
### Using boilerplate
To scaffold just provide boilerplate file and destination:
```sh
bp js my-project
```