Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Generate .gitgnore files from command line with zignr

License

Notifications You must be signed in to change notification settings

ivansantiagojr/zignr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zignr

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

Installation

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

Usage

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

References

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:

About

Generate .gitgnore files from command line with zignr

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published