action

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator added in v0.10.1

type Generator struct {
	App          meta.App       `json:"app"`
	Name         inflect.Name   `json:"name"`
	Method       string         `json:"method"`
	SkipTemplate bool           `json:"skip_template"`
	Actions      []inflect.Name `json:"actions"`
	Args         []string       `json:"args"`
}

Generator for generating new actions

func New

func New(args ...string) (Generator, error)

New returns a well formed set of Options for generating new actions

func (Generator) Run added in v0.10.1

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

Run action generator

Jump to

Keyboard shortcuts

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