ix5231 / fill

Just a file filler
MIT License
0 stars 0 forks source link

Get input from files like JSON instead of by user hands. #4

Open ix5231 opened 5 years ago

ix5231 commented 5 years ago
$ cat template
Hello, my name is {name}.
I'm {age} and live in {place}.
$ cat
{
  "name": "Ix5231",
  "age": "19",
  "place": "Japan"
}
$ fill template -f input.json > output
$ cat output
Hello, my name is Ix5231.
I'm 19 and live in Japan.
ix5231 commented 5 years ago

It would be good if multiple input file.