ignr/README.md
2025-06-17 13:33:17 +01:00

1.2 KiB

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

Authentication

You can run this tool without authenticating but requests will have a stricter rate limiting.

If you prefer to authenticate you can pass a token in the following ways:

Flag

  • --token/-t: Github API Token

Environment Variable

#!/usr/bin/env bash

export GH_TOKEN=<API Token>

Commands

New

Trigger the selection prompt.

  • flags:

    optional

    • --height: Height of the selection prompt, defaults to 20.
ignr-cli new

The prompt filter can be activated by pressing /:

Prompt Filter

Special Thanks

  • Charm for their awesome CLI packages.