Skip to content

Instantly share code, notes, and snippets.

@lambdafunc
Last active October 2, 2023 19:55
Show Gist options
  • Select an option

  • Save lambdafunc/044dea340612ad3098a7ab73b997aadb to your computer and use it in GitHub Desktop.

Select an option

Save lambdafunc/044dea340612ad3098a7ab73b997aadb to your computer and use it in GitHub Desktop.
#!/bin/bash
yaml_file="$1"
python3 -c "import yaml,pprint;pprint.pprint(yaml.load(open('$yaml_file').read(), Loader=yaml.FullLoader))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment