bariscanyilmaz / dotignore

Creat your .gitignore files with CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotignore

dotignore is a CLI tool for generating .gitignore files.

Installation

Linux

wget https://github.com/bariscanyilmaz/dotignore/releases/download/[version]/dotignore-[version]-linux-x64.tar.gz

sudo mkdir -p /usr/local/dotignore && sudo tar -C /usr/local/dotignore -xzf dotignore-[version]-linux-x64.tar.gz

export PATH=$PATH:/usr/local/dotignore

Usage

Create .gitignore files

Create your .gitignore files with init verb

dotignore init <template>

dotignore-init-value

Also, init is a defeault verb and you can omit it

dotignore <template>

dotignore-value

When you use init verb be careful, it creates a new or overwrite existing .gitignore file. If you want to just add new template to existing one, add --append or -a option.

dotignore dotnet --append

List available .gitignore templates

List your dotignore files with ls verb

dotignore ls 

dotignore-ls

Also, ls has -q or --query option for searching your template

dotignore ls -q <template>

dotignore-ls-q

About

Creat your .gitignore files with CLI

License:MIT License


Languages

Language:C# 100.0%