Always include the os package import when generating the root command (#1557)

Signed-off-by: John McBride <jmcbride@vmware.com>
This commit is contained in:
John McBride 2021-12-09 14:47:27 -07:00 committed by GitHub
parent 01e05b8ea1
commit 19c9c74384
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,9 +37,9 @@ package cmd
import (
{{- if .Viper }}
"fmt"
"fmt"{{ end }}
"os"
{{ end }}
"github.com/spf13/cobra"
{{- if .Viper }}
"github.com/spf13/viper"{{ end }}