MCPcopy Index your code
hub / github.com/Eoin-McMahon/blindfold

github.com/Eoin-McMahon/blindfold @v1.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.0 ↗ · + Follow
40 symbols 89 edges 13 files 7 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
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

Extension points exported contracts — how you extend this code

Output (Interface)
(no doc) [1 implementers]
src/output.rs
GitIgnoreClient (Interface)
(no doc) [1 implementers]
src/client.rs

Core symbols most depended-on inside this repo

write_gitignore
called by 7
src/output.rs
log_error
called by 5
src/log.rs
log_info
called by 4
src/log.rs
write_list
called by 3
src/output.rs
write_table
called by 3
src/output.rs
fetch_gitinore_contents
called by 3
src/client.rs
check_typos
called by 2
src/typo.rs
list_templates
called by 2
src/service.rs

Shape

Function 23
Method 9
Class 4
Enum 2
Interface 2

Languages

Rust100%

Modules by API surface

tests/test_output.rs11 symbols
src/output.rs5 symbols
src/client.rs5 symbols
src/service.rs4 symbols
tests/test_client.rs3 symbols
src/log.rs3 symbols
src/cli.rs3 symbols
tests/test_cli.rs2 symbols
src/typo.rs2 symbols
tests/test_typo.rs1 symbols
src/main.rs1 symbols

For agents

$ claude mcp add blindfold \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page