Skip to content

artefatto/omit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omit

This is a CLI tool to generate .gitignore files written in zig.

Installation

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 omit available globally you should have ~/.local/bin on you PATH

Usage

To create a .gitignore file you can simply use omit <language> > .gitignore. This command will overwrite your .gitignore file. Example:

omit zig > .gitignore

Multi language example:

omit zig,python,lua > .gitignore

To see the list of all .gitignore templates you can call omit with, just use:

omit list

References

This 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:

About

Generate .gitgnore files from command line

Topics

Resources

License

Stars

Watchers

Forks

Contributors