由 Rust 编写的 Gitignore 文件生成器
Logo courtesy of Dominic Houston-Watt
NOTE: Rust must be installed on your system for this to work. (Install Rust)
cargo install blindfoldgit 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 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暂无开放 Issues,或尚未同步最近议题。