🚧 Discontinued. Please use Github templates.
zelis a small, and simple command-line tool that helps kickstart new projects.
- Simple JSON file to specify files via a
.zelfile - No complex generator/plugin API
- No need to publish your boilerplate on npm (there's too many!)
$ npm i -g zel
Create a .zel file in your boilerplate repository on GitHub and specify the files to expose to zel.
{
"files": [".editorconfig"]
}To quickly clone these files, simply run zel <username>/<repository>.
$ zel vutran/editorconfig
The above command will download .editorconfig from the vutran/editorconfig repository into the current working directory.
That's it!
Sometimes, your boilerplate may depend on other boilerplates. You can depend on other repositories by adding it to the dependencies list in your .zel file.
{
"dependencies": [
"vutran/editorconfig",
"vutran/gitignore"
]
}And to bootstrap your new project:
$ zel vutran/new
Scaffold a project
$ zel vutran/new
Scaffolding a private GitHub repository
$ zel vutran/new --token abc123
Specifying a target directory for your new project
$ zel vutran/new --target ~/Project/MyNewProject
Want to scaffold your user home directory?
$ zel vutran/home --home
For more information
$ zel -h
- Clone the repository:
git clone git@github.com:vutran/zel.git - Install dependencies:
npm installoryarn - Install flow-typed typings:
npm run flow-typed - Start Fly dev task:
npm run dev - Make edits, commit
- Submit a PR.
MIT © Vu Tran