operation

package
v0.0.0-...-303912c Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseOperation

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

Base Command class, which will receive and keep the project conf

func (*BaseOperation) Init

func (operation *BaseOperation) Init(application *config.Application)

store a conf

type Command

type Command struct {
	BaseOperation
	// contains filtered or unexported fields
}

func (*Command) AddCommand

func (operation *Command) AddCommand(command command.Command)

track and Init the command

func (*Command) Execute

func (operation *Command) Execute(flags ...string)

func (*Command) Init

func (operation *Command) Init(application *config.Application)

store a logger, and conf

type Compose

type Compose struct {
	BaseOperation
}

func (*Compose) Execute

func (operation *Compose) Execute(flags ...string)

type Info

type Info struct {
	BaseOperation
}

func (*Info) Execute

func (operation *Info) Execute(flags ...string)

type Init

type Init struct {
	BaseOperation
}

func (*Init) Execute

func (operation *Init) Execute(flags ...string)

type InitGenerate

type InitGenerate struct {
	BaseOperation
}

func (*InitGenerate) Execute

func (operation *InitGenerate) Execute(flags ...string)

type Operation

type Operation interface {
	Init(application *config.Application)
	Execute(flags ...string)
}

func GetOperation

func GetOperation(application *config.Application, name string) (Operation, bool)

Jump to

Keyboard shortcuts

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