2025-06-18 03:51:58 +01:00
2025-06-17 20:13:40 +01:00
2025-06-18 03:31:34 +01:00
2025-06-15 12:49:07 +01:00
2025-06-15 12:49:07 +01:00
2025-06-18 03:31:34 +01:00
2025-06-18 03:31:34 +01:00
2025-06-18 03:31:34 +01:00
2025-06-15 12:49:07 +01:00
2025-06-18 03:31:34 +01:00
2025-06-18 03:51:58 +01:00
2025-06-18 03:31:34 +01:00
2025-06-15 12:49:07 +01:00

Windows Linux macOS

ignr-cli

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

Selection Prompt

Install

go install github.com/onyx-and-iris/ignr-cli@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 20)
  • --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=20
export IGNR_FILTER=startswith

Commands

New

Trigger the selection prompt.

ignr-cli new

The prompt filter can be activated by pressing /:

Prompt Filter

Special Thanks

  • Charm for their awesome CLI packages.
Description
Simple no-frills .gitignore generator backed by the Github API.
Readme MIT 158 KiB
Languages
Go 100%