newapp

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2017 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotInGoPath = errors.New("currently not in a $GOPATH")

ErrNotInGoPath can be asserted against

Functions

This section is empty.

Types

type Generator added in v0.10.1

type Generator struct {
	meta.App
	Version     string `json:"version"`
	Force       bool   `json:"force"`
	Verbose     bool   `json:"verbose"`
	DBType      string `json:"db_type"`
	CIProvider  string `json:"ci_provider"`
	AsWeb       bool   `json:"as_web"`
	AsAPI       bool   `json:"as_api"`
	Docker      string `json:"docker"`
	VCS         string `json:"vcs"`
	SkipPop     bool   `json:"skip_pop"`
	SkipWebpack bool   `json:"skip_webpack"`
	SkipYarn    bool   `json:"skip_yarn"`
}

Generator is the representation of a new Buffalo application

func New added in v0.10.1

func New(name string) (Generator, error)

New app generator

func (Generator) Run added in v0.10.1

func (a Generator) Run(root string, data makr.Data) error

Run returns a generator to create a new application

func (Generator) Validate added in v0.10.1

func (g Generator) Validate() error

Validate that the app generator is good

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL