Why is snap get
output JSON and not YAML?
(we use yaml-ish output in at least snap info
and snap whoami
)
A few reasons:
- The format is really aimed at inter-tool communication. YAML is way too rich and complex for that.
- We will introduce a schema system for proper presentation and value constraining.
- It’s easy to support YAML as well if we decide to at some latter point.