ワンライナー(1行)でYAMLを捌いてpretty print

こんなん

python -c 'import yaml,sys;print(yaml.dump(yaml.load(sys.stdin)))' < hoge.yml