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