Crates.io | blindfold |
lib.rs | blindfold |
version | 1.0.7 |
source | src |
created_at | 2020-06-14 19:45:49.908908 |
updated_at | 2020-06-28 15:47:41.344494 |
description | βοΈ gitignore file generator written in rust |
homepage | |
repository | https://github.com/Eoin-McMahon/blindfold |
max_upload_size | |
id | 253954 |
size | 2,634,946 |
Logo courtesy of Dominic Houston-Watt
NOTE: Rust must be installed on your system for this to work. (Install Rust)
cargo install blindfold
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.
# 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/
# 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