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.3.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.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toml-cli-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8ce228d00f3358b2faf9763d0a5c080716ce76155a679cb264ac95fd8ad7a877
MD5 228e47360675210f0c3acfc26938cb4f
BLAKE2b-256 f22cc087c0e880617e7d13d88678a72dba17c9bd1a26b86bf666e7107e412e9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toml_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee595cffb2a95f26d0a3183f1e1f4c34fc926874df60b86aef495ae27b504634
MD5 70b86dd849ccc3e64356e9f03efc9396
BLAKE2b-256 dd63a973a24c97ed4b2253d9d6747bac1fe87c6830b76610a81847fbc107972a

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