blindfold

Crates.ioblindfold
lib.rsblindfold
version1.2.0
created_at2020-06-14 19:45:49.908908+00
updated_at2025-06-16 18:57:26.660261+00
descriptiongitignore file generator written in rust
homepage
repositoryhttps://github.com/Eoin-McMahon/blindfold
max_upload_size
id253954
size2,666,399
Eóin McMahon (Eoin-McMahon)

documentation

README

banner
Logo courtesy of Dominic Houston-Watt

Build Crates.io GitHub license GitHub stars

✨ 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

cargo install blindfold

🏗️ Build from source

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:

# generates a single gitignore file for both dart and flutter in ./src/.gitignore
blindfold generate dart flutter -d ./src/
# use the append flag to add to the pre-existing gitignore file (can be shortened to -a)
blindfold generate macos --append
# you can specify a specific directory to store the gitignore file in using the dir argument
blindfold generate rust --dir ./src/
# arguments can also be written in shorthand
blindfold generate rust -d ./src/ -a 
# shows full table list of available templates
blindfold list
# There is a help screen that can be shown which details the subcommands and arguments to supply to the program
blindfold -h
Commit count: 135

cargo fmt