diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-06-09T18·13+0200 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2018-06-09T18·21+0200 |
commit | 141355f3505237b11480775fb83b5ba1bfcf7806 (patch) | |
tree | c737377a501dc6704cf143d853154b25c1a250e8 /main.go | |
parent | b33c353233aae4d73b1567aee41fd5d4cad5bf76 (diff) |
refactor(util): Use YAML parser for both JSON & YAML files
JSON is a subset of YAML and the previous detection logic is unnecessary.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go index b792a1a3b517..0ca8de428e6c 100644 --- a/main.go +++ b/main.go @@ -35,8 +35,8 @@ var ( app = kingpin.New("kontemplate", "simple Kubernetes resource templating") // Global flags - includes = app.Flag("include", "Resource sets to include explicitly").Short('i').Strings() - excludes = app.Flag("exclude", "Resource sets to exclude explicitly").Short('e').Strings() + includes = app.Flag("include", "Resource sets to include explicitly").Short('i').Strings() + excludes = app.Flag("exclude", "Resource sets to exclude explicitly").Short('e').Strings() variables = app.Flag("var", "Provide variables to templates explicitly").Strings() // Commands |