To implement that command we have 2 options, and I don't know yet which one is the best.
OPTIONS:
1) Use existing export tool, maybe "hammer -csv" or other option, and then parse that data to generate the YAML output.
2) Use API or HAMMER to export every possible entity, this would demand us to have a list of all possible entities
and then we can call every API endpoint (or hammer command) doing a list or search and with data data we can
generate the YAML data file.
So what we need to do is to include a new command in the tool
Then a new YAML file is generated and saved.
To implement that command we have 2 options, and I don't know yet which one is the best.
OPTIONS:
1) Use existing export tool, maybe "hammer -csv" or other option, and then parse that data to generate the YAML output.
2) Use API or HAMMER to export every possible entity, this would demand us to have a list of all possible entities and then we can call every API endpoint (or hammer command) doing a
list
orsearch
and with data data we can generate the YAML data file.