cmd.PersistentFlags().StringVarP(&c.outputDir, "output", "o", "", "filesystem path to write files to")
cmd.PersistentFlags().BoolVar(&c.unsafe, "unsafe", false, "enable less safe operations, please backup first")
+ cmd.RunE = nil
return nil
}
func (c *genCommand) Init(cd *simplecobra.Commandeer) error {
cmd := cd.CobraCommand
cmd.Short = "A collection of several useful generators."
+
+ cmd.RunE = nil
return nil
}
Import requires a subcommand, e.g. ` + "`hugo import jekyll jekyll_root_path target_path`."
+ cmd.RunE = nil
return nil
}
List requires a subcommand, e.g. hugo list drafts`
+ cmd.RunE = nil
return nil
}
If archetypes are provided in your theme or site, they will be used.
Ensure you run this within the root directory of your site.`
+
+ cmd.RunE = nil
return nil
}