code: func MakeParams(cmd *cobra.Command, params []GeneratorParam) map[string]interface{} {
  	result := map[string]interface{}{}
  	for ix := range params {
  		f := cmd.Flags().Lookup(params[ix].Name)
  		if f != nil {
  			result[params[ix].Name] = f.Value.String()
  		}
  	}
  	return result
  }
docs: // MakeParams is a utility that creates generator parameters from a command line