juan

command module
v0.1.1-0...-6aa62d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2025 License: MIT Imports: 9 Imported by: 0

README

juan

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.

Installation

Install from source
go install github.com/j0lv3r4/juan@latest
Build from source
git clone https://github.com/j0lv3r4/juan.git
cd juan
task build

The 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

Usage

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 > .gitignore

Output 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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL