gixor
An API for managing .gitignore files, and the library behind the
gixor command.
It keeps clones of boilerplate repositories such as
github/gitignore, finds the boilerplates you name, and
builds a .gitignore from them while keeping what you had written yourself.
use ;
let gixor = load.unwrap;
gixor.prepare.unwrap; // clone or update the repositories, if needed
let names = parse_all;
gixor.dump.unwrap;
Features
usegix(default): drive Git throughgix, a pure Rust implementation. Nothing has to be installed alongside, and no C library is linked.--no-default-features --features local: run thegitcommand instead, which requiresgiton thePATH.
Install the command
The command lives in a separate crate so that using the library does not pull the command line dependencies in.
cargo install gixor-cli
License
MIT. See LICENSE.