-
Notifications
You must be signed in to change notification settings - Fork 32
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
tomldoes not supportkeys? - Is there any way to do this without
jq? (I'm a bit 😦 that we needjqto parse TOML.) - Is there any documentation reference for what query syntax this tool supports?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels