input: support file/stdin source for text/json/yaml

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-04-15 12:47:30 -07:00
parent 6f57ed1b9d
commit 46ab44a69f
8 changed files with 104 additions and 6 deletions

View File

@@ -0,0 +1,4 @@
{
"a": "from file",
"b": 42
}

View File

@@ -0,0 +1 @@
from file

View File

@@ -0,0 +1,2 @@
a: "from file"
b: 42