pop

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Returned with database.yml does not exist
	ErrDatabaseNotExist = errors.New(" database.yml does not exist")
)

Functions

This section is empty.

Types

type Command added in v0.3.1

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

func (Command) HelpText added in v0.3.1

func (b Command) HelpText() string

HelpText resturns the help Text of build function

func (*Command) Name added in v0.3.1

func (p *Command) Name() string

func (*Command) ParentName added in v0.3.1

func (p *Command) ParentName() string

func (*Command) Receive added in v0.3.1

func (b *Command) Receive(plugins []plugins.Plugin)

func (*Command) Run added in v0.3.1

func (b *Command) Run(ctx context.Context, root string, args []string) error

func (*Command) Subcommands added in v0.3.1

func (b *Command) Subcommands() []plugins.Command

type Fixer

type Fixer struct{}

Fixer type ...

func (Fixer) Fix

func (f Fixer) Fix(ctx context.Context, root string, args []string) error

Fix moves the file "database.yml" to "/config/database.yml". If the file already exists it ignores the operation

func (Fixer) Name

func (f Fixer) Name() string

type Tester added in v0.3.1

type Tester struct{}

func (*Tester) Name added in v0.3.1

func (p *Tester) Name() string

func (*Tester) RunBeforeTest added in v0.3.1

func (p *Tester) RunBeforeTest(ctx context.Context, root string, args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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