Allow yaml files in CLI
Currently, the command-line tool expects JSON files as input. The tool should also allow YAML files as input (either automatically detect the format based on its file extension or via a --yaml
switch). Additional, the switch --yaml
should trigger creation of YAML fields instead of JSON.