Metadata-Version: 2.1
Name: toml-cli
Version: 0.1.3
Summary: Command line interface to read and write keys/values to/from toml files
Home-page: https://github.com/mrijken/toml-cli
License: MIT
Author: Marc Rijken
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: tomlkit (>=0.7.0,<0.8.0)
Requires-Dist: typer (>=0.3.2,<0.4.0)
Project-URL: Repository, https://github.com/mrijken/toml-cli
Description-Content-Type: text/markdown

# tom-cli

Command line interface for toml files.

This can be usefull for getting or setting parts of a toml file without an editor.
Which can be convinient when values have to be read by a script for example in
continuous development steps.


## Install

`pip install toml-cli`

## Get a value

`toml get --toml-path pyproject.toml tool.poetry.name`

## Set a value

`toml set --toml-path pyproject.toml tool.poetry.version 0.2.0`

## Add a section

`toml add_section --toml-path pyproject.toml tool.poetry.new_section`

## Unset a value

`toml unset --toml-path pyproject.toml tool.poetry.version`

