tomcli-get - Man Page

CLI for working with TOML files. Pronounced "tom clee."

Synopsis

[tomcli-get | tomcli get] [Options] PATH [SELECTOR]

Description

The tomcli-get subcommand supports querying TOML files.

Arguments

PATH

Path to a TOML file to read. Use '-' to read from stdin.

[SELECTOR] (default: .)

A dot separated map to a key in the TOML mapping.
Example: 'section1.subsection.value' or '"key.with.dots".abc'

Options

--version

Show the version and exit.

--writer <tomli_w|tomlkit>

Library to use to write TOML files.

--reader <tomli|tomlkit>

Library to use to write TOML files. Defaults to tomlkit and falls back to tomli/tomllib if tomlkit is unavailable.

-F / --formatter <default: default>

Which output formatter to use. See tomcli-formatters(1) for a full list.

See Also

tomcli(1), tomcli-formatters(1), tomcli-set(1)

Referenced By

tomcli(1), tomcli-formatters(1), tomcli-set(1).

2024-09-16