Metadata-Version: 2.4
Name: inifix-cli
Version: 1.1.0
Summary: A command line interface for inifix.
Author: C.M.T. Robert
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-Expression: GPL-3.0-only
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
Classifier: Topic :: Scientific/Engineering
Classifier: Typing :: Typed
License-File: LICENSE
Requires-Dist: click>=8.3.0, <8.5.0
Requires-Dist: inifix>=6.1.0
Project-URL: Changelog, https://github.com/neutrinoceros/inifix/blob/main/cli/inifix-cli/CHANGELOG.md
Project-URL: Changelog (historical), https://github.com/neutrinoceros/inifix/blob/main/CHANGELOG.md
Project-URL: Homepage, https://github.com/neutrinoceros/inifix

# `inifix-cli`

[![PyPI](https://img.shields.io/pypi/v/inifix-cli.svg?logo=pypi&logoColor=white&label=PyPI)](https://pypi.org/project/inifix-cli/)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/inifix-cli)](https://pypi.org/project/inifix/)

This is a small Command Line Interface (CLI) companion to the `inifix` library.

It offers two commands:
- `inifix validate`
- `inifix format`


## Installation

It is recommended to install or run this application with `pipx` or `uv tool`.
It is also possible to install it in an arbitrary Python environment with

```shell
python -m pip install inifix-cli
```

## Usage

Invoke `inifix <cmd> --help` for details.


### `inifix-pre-commit`

pre-commit hooks backed by this CLI are served from
https://github.com/la-niche/inifix-pre-commit

