From 63bda8bd0f31ea85aa3dd7328c18bf72227b2da1 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Wed, 5 Sep 2018 17:51:35 -0400 Subject: [PATCH] fixed nil options --- cmd/init.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/init.go b/cmd/init.go index 0e18e13..e5083d1 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -12,7 +12,9 @@ import ( var initOptions = struct { *initgen.Options dryRun bool -}{} +}{ + Options: &initgen.Options{}, +} // initCmd represents the init command var initCmd = &cobra.Command{