Always include the os package import when generating the root command

Signed-off-by: John McBride <jmcbride@vmware.com>
This commit is contained in:
John McBride 2021-12-09 10:57:13 -07:00
parent 01e05b8ea1
commit 03c62a4f98

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 }}