-
-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Labels
Milestone
Description
Hi,
It would be useful to read.Glob
function in addition to file.Walk
.
Example:
$ tree /tmp/foo
/tmp/foo
├── one.yaml
└── two.yaml
├── three.yaml
├── four.json
└── five.json
$ gomplate -i '{{ range file.Glob "/tmp/*.yaml" }}{{.}}{{"\n"}}{{end}}'
/tmp/one.yaml
/tmp/two.yaml
/tmp/three.yaml