built

package
v2.0.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Plugger      plugins.Scoper
	BuildTime    string
	BuildVersion string
	Fallthrough  func(ctx context.Context, root string, args []string) error
	OriginalMain func()
}

func (*App) Main

func (b *App) Main(ctx context.Context, root string, args []string) error

func (*App) ScopedPlugins

func (b *App) ScopedPlugins() []plugins.Plugin

type Initer

type Initer interface {
	plugins.Plugin
	BuiltInit(ctx context.Context, root string, args []string) error
}

Initer is invoked in when an application binary built with `buffalo build` is executed. This hook is executed before any flags are parsed or sub-commands are run.

Jump to

Keyboard shortcuts

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