This is a CLI tool to generate .gitignore files written in zig.
Install on MacOS or GNU/Linux from our pre-built binary by running:
curl -sSL https://raw.githubusercontent.com/artefatto/omit/main/install.sh | bash -To make
omitavailable globally you should have~/.local/binon youPATH
To create a .gitignore file you can simply use omit <language> > .gitignore. This command will overwrite your .gitignore file. Example:
omit zig > .gitignoreMulti language example:
omit zig,python,lua > .gitignoreTo see the list of all .gitignore templates you can call omit with, just use:
omit listThis project started as a Zig learning experience (and still is), so I will link my references below: First of all, omit is heavily inspired by ignr.py, which uses the gitignore.io API.
Zig references I used: