ignr/README.md
onyx-and-iris e1b879f54c change default height to 10
- with startswith filtering its more reasonable
2025-06-18 06:37:06 +01:00

1.4 KiB

Windows Linux macOS

ignr

Simple no-frills .gitignore generator backed by the Github API.

Selection Prompt

Install

go install github.com/onyx-and-iris/ignr@latest

Configuration

flags

  • --token/-t: GitHub authentication token
    • note, this tool can be used without authenticating but rate limiting will be stricter.
  • --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)

environment variables

#!/usr/bin/env bash

export IGNR_TOKEN=<API Token>
export IGNR_HEIGHT=10
export IGNR_FILTER=startswith

Commands

New

Trigger the selection prompt.

ignr new

The prompt filter can be activated by pressing /:

Prompt Filter

Special Thanks