Simple and flexible boilerplate management
snap save starter, and when you need to use that starter project again:
snap starter my-project. It's that easy.
Installation``` npm install -g snap ```
saveSaving a boilerplate with Snap is quick and easy: ``` snap save source options ```
<name>should be something short and memorable so that you can use it later.
[source]can be a local path to a directory (e.g.
./starter) or a Git repository URL (e.g.
https://github.com/user/starter.git). Providing a source is optional. If you don't, the current working directory will be saved. Options: -
--overwrite: Overwrite an existing boilerplate that has the same name
snapWhen you want to use a boilerplate you have saved, run: ``` snap options ```
<boilerplate-name>should be the name of a boilerplate you have saved.
<project-directory>should be a local path to the project you want to create. For example, if you want to create a project called my-project with a boilerplate called starter, you should run
snap starter ./my-project. Options: -
--install: Automatically run
npm installafter creating the project
lsIf you want to see what you have saved: ``` snap ls ``` You'll either get a nice list of names or a message telling you that you don't have anything saved yet.
showTo view the file structure of a boilerplate: ``` snap show ```
<name>should be the name of a boilerplate you have saved.