action

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: 9 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         meta.Name   `json:"name"`
	Method       string      `json:"method"`
	SkipTemplate bool        `json:"skip_template"`
	Actions      []meta.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