actions

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2013 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Name() string
	Description() string
	DryRun(arguments []string)
	Execute(arguments []string)
}

func Get

func Get(workingDirectory string, actionName string) Action

type ActionInfo

type ActionInfo struct {
	// contains filtered or unexported fields
}

func NewActionInfo

func NewActionInfo(name, description string) ActionInfo

func (ActionInfo) Description

func (info ActionInfo) Description() string

func (ActionInfo) Name

func (info ActionInfo) Name() string

type ActionMetaData

type ActionMetaData interface {
	Name() string
	Description() string
}

func GetAll

func GetAll() []ActionMetaData

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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