Metadata-Version: 2.4
Name: ignorante
Version: 0.1.1
Summary: CLI to generate .gitignore files by combining templates from github/gitignore, interactively or by name
Keywords: gitignore,cli
Author: Jasper van Merle
Author-email: Jasper van Merle <jaspervmerle@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Version Control :: Git
Classifier: Programming Language :: Python :: 3
Requires-Dist: platformdirs>=4.10.1
Requires-Dist: questionary>=2.1.1
Requires-Dist: typer>=0.27.0
Requires-Python: >=3.12
Project-URL: Repository, https://github.com/jmerle/ignorante
Project-URL: Issues, https://github.com/jmerle/ignorante/issues
Project-URL: Changelog, https://github.com/jmerle/ignorante/releases
Description-Content-Type: text/markdown

# Ignorante

A CLI for generating `.gitignore` files by combining templates from the [github/gitignore](https://github.com/github/gitignore) repository.

## Usage

### Direct mode

Pass one or more template names as arguments. Their `.gitignore` contents are concatenated and written to stdout:

```sh
uvx ignorante python node > .gitignore
```

Write to a file directly with `-o`/`--output` instead of piping stdout:

```sh
uvx ignorante python node --output .gitignore
```

Template names are matched case-insensitively against the filenames in the github/gitignore repository (e.g. `python` matches [`Python.gitignore`](https://github.com/github/gitignore/blob/main/Python.gitignore)).

Templates in the repository's `Global/` and `community/` subdirectories are referenced with a matching prefix:

```sh
uvx ignorante python global/linux community/golang/hugo
```

Here, `global/linux` matches [`Global/Linux.gitignore`](https://github.com/github/gitignore/blob/main/Global/Linux.gitignore) and `community/golang/hugo` matches [`community/Golang/Hugo.gitignore`](https://github.com/github/gitignore/blob/main/community/Golang/Hugo.gitignore).

### Interactive mode

Run with no arguments to pick templates interactively:

```sh
uvx ignorante
```

This opens a searchable, multi-select prompt listing every available template. Confirm your selection to write the combined `.gitignore` to stdout (or to a file, if `--output` is given).
