mirror of
https://github.com/onyx-and-iris/gogn.git
synced 2026-03-29 21:49:11 +00:00
gogn
Simple no-frills .gitignore generator backed by gitignore.io.
Install
go install github.com/onyx-and-iris/gogn@latest
Configuration
flags
- --height/-H: Height of the selection prompt (default 10)
- --filter/-f: Type of filter to apply to the list of templates (default startswith)
- may be one of (startswith, contains)
- --start-search/-s: Start the prompt in search mode (default false)
environment variables
#!/usr/bin/env bash
export GOGN_HEIGHT=10
export GOGN_FILTER=startswith
export GOGN_START_SEARCH=false
Commands
New
Trigger the selection prompt.
gogn new
Search mode can be activated by pressing /:
Special Thanks
Languages
Go
100%

