Boilerplate, a tool that allows you to set up projects quickly and easily.
npm install bp
|16||downloads in the last month|
|Version||1.0.0 last updated 4 months ago|
|Keywords||cli, project, setup|
|Dependencies (6)||optimist, exec, ddp, rimraf, find, underscore|
A tool that allows you to set up projects quickly and easily.
Installing it -
$ npm install -g bp
To create a new project, do -
$ boilerplate <boilerplate-name> <project-name>
<boilerplate-name> can be a boilerplate on boilerplates.meteor.com (which is under development) or a git clone URL, and
<project-name> is the name of the project that will be created.
You can also pass in the
--no-git flag, and the project created won't be a git repository.
$ boilerplate <boilerplate-name> <project-name> --no-git
If your boilerplate is a local repository, and you don't want to connect to the boilerplates index to clone it, use the
$ boilerplate <boilerplate-name> <project-name> -l
A boilerplate directory must be a git repository. In file/subdirectory paths inside the boilerplate directory,
@name@ will be replaced with the project name specified. This is true for file contents as well.
. |-- @name@ | |-- @name@.html | `-- @name@.txt `-- @name@.txt
. |-- <project-name> | |-- <project-name>.html | `-- <project-name>.txt `-- <project-name>.txt
and file contents will be changed the same way.