actions

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *Options) (*genny.Generator, error)

New returns a new generator for build actions on a Buffalo app

Types

type Options

type Options struct {
	App           meta.App
	Name          string
	Actions       []string
	Method        string
	SkipTemplates bool
}

Options for the actions generator

func (*Options) Validate

func (opts *Options) Validate() error

Validate that options are usuable

Directories

Path Synopsis
_fixtures

Jump to

Keyboard shortcuts

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