Generate .gitignore file with template for your project
Features ✨
- Choose a template based on https://github.com/github/gitignore
- Choose a custom path to create
.gitignore
file
Install 🐙
npm i -g cligit
Usage 💡
cligit <commands> [options]
OR
npx cligit <commands> [options]
Use this if you don't want install this package globally.
Commands
Commands are optional but allow you to skip question for choosing template.
You can find the template availables in this github repository where template name is filename without the extension.
Example - Supposing you'like to create a
.gitignore
file and your project works with NodeJs you should run thiscligit Node
Options
-
--path
optional, The path to create the.gitignore
file.
Exemples 🖍
With template name
cligit Node
With custom path
cligit --path dev/foo/
With template and custom path
cligit C --path dev/foo/
Good code and have fun 🧑💻
Top comments (0)