Metadata-Version: 2.1
Name: toml-sort
Version: 0.2.0
Summary: Toml sorting library
Home-page: https://github.com/pappasam/toml-sort
License: MIT
Keywords: toml,sort,cli,unix,utility
Author: Sam Roeca
Author-email: samuel.roeca@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Dist: click (>=7.0,<8.0)
Requires-Dist: tomlkit (>=0.5.5)
Project-URL: Repository, https://github.com/pappasam/toml-sort
Description-Content-Type: text/markdown

# toml-sort

A command line utility to sort your toml files. Requires Python 3.6 or greater.

## Installation

```bash
pip install toml-sort
```

## Usage

Read from stdin, write to stdout:

    cat input.toml | toml-sort -

Read from file on disk, write to file on disk:

    toml-sort -o output.toml input.toml

Read from file on disk, write to stdout

    toml-sort input.toml

Read from stdin, write to file on disk

    cat input.toml | toml-sort -o output.toml -

## Local Development

This project is super simple.

**Dependencies**

Install the following tools manually.

* [Poetry](https://github.com/sdispater/poetry#installation)
* [GNU Make](https://www.gnu.org/software/make/)

*Recommended*

* [pyenv](https://github.com/pyenv/pyenv)

**Set up development environment**

```bash
make setup
```

**Run Tests**

```bash
make test
```

## Written by

Samuel Roeca *samuel.roeca@gmail.com*

