8000 GitHub - Eoin-McMahon/blindfold: ๐Ÿ”Ž Gitignore file generator written in rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Eoin-McMahon/blindfold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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
  • Suggestion system to help correct potential typos
  • 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.
  • Allows for hosting languages inside directories, so that multiple languages can be neatly split up.

๐Ÿ“ฆ 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.

๐Ÿ”จ Demo:

demo_video

๐Ÿ”ง Examples of use:

# generates a single gitignore file for both dart and flutter in ./src/.gitignore
blindfold --lang dart flutter
# use the append flag to add to the pre-existing gitignore file (can be shortened to -a)
blindfold --append macos
# you can specify a specific destination to store the gitignore file using the dest argument
blindfold --lang rust --dest ./src/
# you can put languages into directories by prefixing the language name with the path (which can include '**')
blindfold --lang rs/rust py/python **/make
# arguments can also be written in shorthand
blindfold -l rust -d ./src/
# shows full 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

About

๐Ÿ”Ž Gitignore file generator written in rust

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages

0