code: func Config(cfgFile string, data map[string]interface{}) error {
  	oncer.Deprecate(0, "generate.Config", "Use github.com/gobuffalo/pop/genny/config instead.")
  	pwd, _ := os.Getwd()
  
  	run := genny.WetRunner(context.Background())
  
  	d, _ := data["dialect"].(string)
  	g, err := config.New(&config.Options{
  		Root:     pwd,
  		Prefix:   filepath.Base(pwd),
  		FileName: cfgFile,
  		Dialect:  d,
  	})
  
  	if err != nil {
  		return errors.WithStack(err)
  	}
  	run.With(g)
  
  	return run.Run()
  }
docs: // Config generates pop configuration files.
  // Deprecated: use github.com/gobuffalo/pop/genny/config instead.