https://github.com/Eoin-McMahon/blindfold
🔎 Gitignore file generator written in rust
https://github.com/Eoin-McMahon/blindfold
developer-tools gitignore gitignore-templates rust tools
Last synced: 2 months ago
JSON representation
🔎 Gitignore file generator written in rust
- Host: GitHub
- URL: https://github.com/Eoin-McMahon/blindfold
- Owner: Eoin-McMahon
- License: mit
- Created: 2020-05-31T23:26:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T05:32:36.000Z (over 1 year ago)
- Last Synced: 2024-12-10T01:44:17.703Z (10 months ago)
- Topics: developer-tools, gitignore, gitignore-templates, rust, tools
- Language: Rust
- Homepage: https://crates.io/crates/blindfold
- Size: 247 MB
- Stars: 79
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Logo courtesy of Dominic Houston-Watt[](https://github.com/Eoin-McMahon/blindfold/actions?query=workflow%3ABuild)
[](https://crates.io/crates/blindfold)
[](https://github.com/Eoin-McMahon/Blindfold/blob/master/license.txt)
[](https://github.com/Eoin-McMahon/Blindfold/stargazers)## ✨ Features
* Pulls .gitignore templates from gitignore.io.
* Clean and simple CLI
* Allows for the combination of any number of different templates all into one gitignore
* Allows for appending to pre-existing gitignore templates so that custom directories are not overridden.## 📦 Installation
NOTE: Rust must be installed on your system for this to work. (Install Rust)#### 📥 Download from crates.io
```bash
cargo install blindfold
```#### 🏗️ Build from source
```bash
git clone https://github.com/Eoin-McMahon/blindfold.git
cd blindfold
cargo install --path ./
```This will install the binary and add it to your path. Once installed you can use the tool as shown in the examples below.
## 🔧 Examples of use:
```bash
# generates a single gitignore file for both dart and flutter in ./src/.gitignore
blindfold generate dart flutter -d ./src/
``````bash
# use the append flag to add to the pre-existing gitignore file (can be shortened to -a)
blindfold generate macos --append
``````bash
# you can specify a specific directory to store the gitignore file in using the dir argument
blindfold generate rust --dir ./src/
``````bash
# arguments can also be written in shorthand
blindfold generate rust -d ./src/ -a
``````bash
# shows full table list of available templates
blindfold list
``````bash
# There is a help screen that can be shown which details the subcommands and arguments to supply to the program
blindfold -h
```