-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I want to get the top-level keys from a TOML file and I've tried:
toml get ./characters.toml 'keys'
but it returns nothing. While if I put this into jq
after toml
.....
% toml get ./characters.toml '.' | jq 'keys'
[
"Bea",
"Duo",
"Eddy",
"Falstaff",
"Junior",
"Lily",
"Lin",
"Lucy",
"Oscar",
"Vikram",
"Zari"
]
So,
- Does anybody know why
toml
does not supportkeys
? - Is there any way to do this without
jq
? (I'm a bit 😦 that we needjq
to parse TOML.) - Is there any documentation reference for what query syntax this tool supports?
Metadata
Metadata
Assignees
Labels
No labels