-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
It would be nice to have optional mappings/init/etc broken down by OS, then Hostname, then distro/version like the following JSON
{
"mappings": {
"one": "two",
"two": "three"
},
"init" : [
"one",
"two"
],
"env" : {
"linux" :{
"mappings": {
"three": "four"
},
"init" : [
"three"
]
}
}
}But, alas, TOML doesn't support arrays and tables at the same level unless they're written in a particular order.
#totally fine
bar = [
"one",
"two"
]
[foo]
one = "two"
three = "four"#nope
[foo]
one = "two"
three = "four"
bar = [
"one",
"two"
]YAML's cool with it, though:
foo:
one: two
three: four
bar:
- one
- twoKind of a big change, but it would dovetail nicely with init command substitutions. Opening issue to track.
Metadata
Metadata
Assignees
Labels
No labels