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/brasilisclub/zignr/main/install.sh | bash -
To make
zignr
available globally you should have~/.local/bin
on youPATH
To create a .gitgnore file you can simply use zignr <language> > .gitnore
. This command will overwrite your .gitignore file. Example:
zignr zig > .gitgnore
Multi language example:
zignr zig,python,lua > .gitgnore
To see the list of all .gitignore templates you can call zignr
with, just use:
zignr list
This 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: