juan generates .gitignore files for different programming languages or platforms from the command line.
Inspired by joe, but following the Command Line Interface Guidelines and adding autocompletion (at some point). So, think of juan as a distant cousin of joe.
go install github.com/j0lv3r4/juan@latestgit clone https://github.com/j0lv3r4/juan.git
cd juan
task buildThe binary will be in bin/juan.
After install run juan -u to update the available list of .gitignore files. This command will download the files in these locations:
- macOS:
/Users/<your-user>/Library/Application Support/juan - Windows:
C:\Users\<your-user>\AppData\Local\juan - Linux:
/home/<your-user>/.local/share/juan
Update the list of available .gitignore files:
$ juan update
Updating gitignore files...
302 .gitignore files:
actionscript, ada, adventuregamestudio, agda, al, alteryx, altiumdesigner, android, angular, ...View available files:
$ juan list
302 .gitignore files:
actionscript, ada, adventuregamestudio, agda, al, alteryx, altiumdesigner, android, angular, ...Generate a .gitignore file for a project using Linux and Vim:
$ juan vim,linux > .gitignoreOutput in the .gitignore file generated:
#### juan made this: https://github.com/j0lv3r4/juan ####
### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
#### juan made this: https://github.com/j0lv3r4/juan ####
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*Append to an existing .gitignore file:
$ juan vim,linux >> .gitignore