muter
muter copied to clipboard
Config should be YAML, not JSON
Or it could even be Swift? JSON isn't well suited to things like having list of command line arguments. YAML is nice because it has bare words, so you don't have quote marks mucking up the works.
This is a good suggestion. I've been burned once or twice by how annoying it is to have quotes nested within quotes for some of the commandline arguments I need.
I'm intrigued by the idea of it being Swift, but in practice it's probably easier for it to be YAML.
In any event, you have me thinking about this for the next release because there's already a single breaking change scheduled for v5. I would rather release every breaking change to the configuration format at once, especially so with how low the adoption rate is right now.
I'm looking at this repo for YAML parsing. Do you have any suggestions/recommendations @ZevEisenberg?
I don't know anything about it per se, other than that my current client is using it in their iOS project and it seems solid.