Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
/ zel Public archive

💻 zel is a small, and simple command-line tool that helps kickstart new projects.

License

Notifications You must be signed in to change notification settings

vutran/zel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚧 Discontinued. Please use Github templates.

zel

zel is a small, and simple command-line tool that helps kickstart new projects.

Benefits

  • Simple JSON file to specify files via a .zel file
  • No complex generator/plugin API
  • No need to publish your boilerplate on npm (there's too many!)

Install

$ npm i -g zel

Usage

Create a .zel file in your boilerplate repository on GitHub and specify the files to expose to zel.

Repository: vutran/editorconfig

{
    "files": [".editorconfig"]
}

Running zel

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!

Dependencies

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.

Repository: vutran/new

{
    "dependencies": [
        "vutran/editorconfig",
        "vutran/gitignore"
    ]
}

And to bootstrap your new project:

$ zel vutran/new

Commands

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

Contributing

  1. Clone the repository: git clone [email protected]:vutran/zel.git
  2. Install dependencies: npm install or yarn
  3. Install flow-typed typings: npm run flow-typed
  4. Start Fly dev task: npm run dev
  5. Make edits, commit
  6. Submit a PR.

License

MIT © Vu Tran

About

💻 zel is a small, and simple command-line tool that helps kickstart new projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published