Command line interface to read and write keys/values to/from toml files
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toml_cli-0.4.0.tar.gz.
File metadata
- Download URL: toml_cli-0.4.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5009a5a41d258a786d4e5a47bafcdabea93257b6b67b96656027e8cf8e6490a8
|
|
| MD5 |
9229639c4c84d9cd00783e1011a0493a
|
|
| BLAKE2b-256 |
db8dfce5ef6c0eaa0e07d818c3b70f1a85b338849170e3e3cf71b7cdee38378b
|
File details
Details for the file toml_cli-0.4.0-py3-none-any.whl.
File metadata
- Download URL: toml_cli-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c98b38843b19dad13bd00e1fe0a36cee3b40fdc681f60fcf3988cb05ca9303c0
|
|
| MD5 |
135568a996223d58ae86cb5fcde2090c
|
|
| BLAKE2b-256 |
da47e3d60dfa09738005ab04a2cb03894df9e64812cd21aae3ada1d406ca84d6
|