Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toml-cli-0.1.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toml_cli-0.1.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file toml-cli-0.1.2.tar.gz.

File metadata

  • Download URL: toml-cli-0.1.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.3 Linux/4.15.0-112-generic

File hashes

Hashes for toml-cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b056a3a6efefd92620a9687a239feb6c547c220c0ad4814de33da1a8b6c69b8a
MD5 a1773a13423d32d864257ffa30568519
BLAKE2b-256 e66b83aeca624d597fef9bfa4146d55ff3201c5fd3da3168465bea8050403e93

See more details on using hashes here.

File details

Details for the file toml_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: toml_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.3 Linux/4.15.0-112-generic

File hashes

Hashes for toml_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a867534639b16dc86bac1b6649a5261379b91e8197f339461cd189943f969d9b
MD5 f24d7370e2b7e56389ec2ea5e19e41c4
BLAKE2b-256 df8ad8959855c12258f789029bd982d297eb39a75f262a8dd174a86e26650281

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page