Skip to main content

Command line interface to read and write keys/values to/from toml files

Project description

tom-cli

Build Hits

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.4.tar.gz (6.1 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.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toml-cli-0.1.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure

File hashes

Hashes for toml-cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 679dabdf22dd5c628375bec3afeac7bfc1e146d5db45b0aecda00f06f7460c22
MD5 c577ec6ddcfe3768f1add6d503c497c8
BLAKE2b-256 979ceab9c89f8a70c1c5840a74852406781a05e1407f34c3f7263c2a03fb475e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toml_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure

File hashes

Hashes for toml_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c4e0fe1f8cb35d9c653efa5dbd26d4e260386a33a4cc32d448d5e085ae5559a
MD5 44fa68ac702738a09744d06161f4fb7b
BLAKE2b-256 4e7998b3e035436472c8af199bac4788d08060190720dc3fd131a83f8ed23418

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