TOMCLI-GET(1)
π TOMCLI-GET π
okay bestie, so this is tomcli-get β the CLI for working with TOML files. and before you ask, it's pronounced "tom clee." π yes fr fr. it lives in the General Commands Manual section, and honestly? she's giving main character energy.
β¨ SYNOPSIS β¨
[tomcli-get | tomcli get] [OPTIONS] PATH [SELECTOR]
like, you can call her either way β tomcli-get or tomcli get β she answers to both, periodt. π
π¦ DESCRIPTION π¦
the tomcli-get subcommand supports querying TOML files. that's the whole vibe. you point her at a TOML file, you tell her what key you want, she goes and gets it. no cap. π₯
πΈ ARGUMENTS πΈ
PATHβ the path to a TOML file to read. Use'-'to read from stdin. yep, a literal single dash, that's the "gimme the data through the pipe" move, iconic behaviour honestly π«Ά[SELECTOR](default:.) β a dot separated map to a key in the TOML mapping. it's optional, she defaults to., but when you wanna get specific:- Example:
'section1.subsection.value' - or, when your key is being dramatic and has dots in it:
'"key.with.dots".abc'
- Example:
like yes, you can quote the key inside the selector, she understands the assignment β¨
π OPTIONS π
--versionβ show the version and exit. classic. she tells you who she is and dips π--writer <tomli_w|tomlkit>β library to use to write TOML files. pick your fighter:tomli_wortomlkitπ₯--reader <tomli|tomlkit>β library to use to write TOML files. (yes, it literally says "write" in the reader description, we are not making the rules, that's just what the page says π) Defaults totomlkitand falls back totomli/tomllibiftomlkitis unavailable. so she's got a backup plan, she's prepared, love that for her π-F/--formatter <default: default>β which output formatter to use. the default is literallydefault(so meta, we love it). Seetomcli-formatters(1)for a full list. there are options, go look, iykyk π
π SEE ALSO π
go read those too, they're all part of the same friend group π§
β and that's the whole page bestie! no skipped options, no missing flags, every single detail intact β we keep the facts, we just add the sparkle π
this was TOMCLI-GET(1), source/version dated 2025-09-19, from the General Commands Manual β mwah, stay hydrated, go query some TOML πβ¨
π¦ where this page comes from
- fedora 43: tomcli 0.10.1-3.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms