HackMyResume icon indicating copy to clipboard operation
HackMyResume copied to clipboard

Take Fresca YAML as input?

Open SevereOverfl0w opened this issue 9 years ago • 4 comments

FRESCA supports YAML as input, would HackMyResume want to extend it's engine to support taking .yml files as input?

SevereOverfl0w avatar Jan 11 '16 17:01 SevereOverfl0w

Yes. Starting in ~~v1.7.0~~ v1.8.0 HMR will accept "equivalent" YML and/or XML for any resume input --- including both FRESH/FRESCA and JSON Resume formats.

hacksalot avatar Jan 11 '16 18:01 hacksalot

Also mentioned in #11.

hacksalot avatar Jan 24 '16 22:01 hacksalot

Will this support multiple yaml files, e.g. hackmyresume build resume1.yml resume2.yml TO resume.json ? also is there a format assumed (jrs or fresh)?

n3f avatar Oct 25 '18 03:10 n3f

I like the idea of yaml as authoritative input. Here's my shell one-liner to get that ability:

cat resume.yml |python3 -c 'import json,sys;from ruamel.yaml import YAML;yaml=YAML(); print(json.dumps(yaml.load(sys.stdin)))' |hackmyresume build /dev/stdin TO index2.html

Note: requires pip3 install ruamel.yaml

zachdecook avatar Dec 12 '19 05:12 zachdecook