genny/info/info.go
func New(opts *Options) (*genny.Generator, error) {
	g := genny.New()

	if err := opts.Validate(); err != nil {
		return g, errors.WithStack(err)
	}

	g.RunFn(appDetails(opts))

	cBox := packr.Folder(filepath.Join(opts.App.Root, "config"))
	g.RunFn(configs(opts, cBox))

	aBox := packr.Folder(opts.App.Root)
	g.RunFn(pkgChecks(opts, aBox))

	return g, nil
}
func New(opts *Options) (*genny.Generator, error) {
	g := genny.New()

	if err := opts.Validate(); err != nil {
		return g, errors.WithStack(err)
	}

	g.RunFn(appDetails(opts))

	cBox := packr.Folder(filepath.Join(opts.App.Root, "config"))
	g.RunFn(configs(opts, cBox))

	aBox := packr.Folder(opts.App.Root)
	g.RunFn(pkgChecks(opts, aBox))

	return g, nil
}
func New ( opts * Options ) ( * genny . Generator , error ) { g := genny . New ( ) if err := opts . Validate ( ) ; err != nil { return g , errors . WithStack ( err ) } g . RunFn ( appDetails ( opts ) ) cBox := packr . Folder ( filepath . Join ( opts . App . Root , " " ) ) g . RunFn ( configs ( opts , cBox ) ) aBox := packr . Folder ( opts . App . Root ) g . RunFn ( pkgChecks ( opts , aBox ) ) return g , nil }
// New returns a generator that performs buffalo
// related rx checks
New returns a generator that performs buffalo related rx checks