Update cmd/config to use latest version of cli-utils

This commit is contained in:
Morten Torkildsen
2020-09-14 12:08:48 -07:00
parent 6a0a909e73
commit 11d9ff5690
4 changed files with 8 additions and 6 deletions

View File

@@ -159,10 +159,10 @@ func (r *TreeRunner) runE(c *cobra.Command, args []string) error {
Inputs: []kio.Reader{input},
Filters: fltrs,
Outputs: []kio.Writer{kio.TreeWriter{
Root: root,
Writer: c.OutOrStdout(),
Fields: fields,
Structure: kio.TreeStructure(r.structure),
Root: root,
Writer: c.OutOrStdout(),
Fields: fields,
Structure: kio.TreeStructure(r.structure),
OpenAPIFileName: openAPIFileName,
}},
}.Execute())