Closed filipenf closed 2 months ago
Allows loading yaml files as well as json from the command line. I tested a few cases of loading json/yaml with:
jpterm -y yaml-file.yaml jpterm -y json-file.json
and even
jpterm -y json-file.json
works as the yaml library can load json format as well
Tested with a few different combinations of json and yaml files - both on stdin and passing the file path as an argument
$ cat test.yml --- name: value list: - item 1 - item 2 dict: a: 1 b: 2 c: 3 $ jpterm -y test.yml
@jamesls would you be interested in adding yaml support to jpterm?
Allows loading yaml files as well as json from the command line. I tested a few cases of loading json/yaml with:
and even
works as the yaml library can load json format as well
Tested with a few different combinations of json and yaml files - both on stdin and passing the file path as an argument