drush

package
v0.0.0-...-dae269f Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drush

type Drush struct {
	ingredient.Base
	Dependencies struct {
		Barrel *barrel.Barrel
		PHP    *php.PHP
	}
}

Drush implements commands related to drush

func (*Drush) Cron

func (drush *Drush) Cron(ctx context.Context, progress io.Writer) error

func (*Drush) Enable

func (drush *Drush) Enable(ctx context.Context, progress io.Writer, modules ...string) error

Enable enables the given drush modules

func (*Drush) Exec

func (drush *Drush) Exec(ctx context.Context, progress io.Writer, command ...string) error

func (*Drush) LastCron

func (drush *Drush) LastCron(ctx context.Context, server *phpx.Server) (t time.Time, err error)

type LastCronFetcher

type LastCronFetcher struct {
	ingredient.Base
	Dependencies struct {
		Drush *Drush
	}
}

func (*LastCronFetcher) Fetch

func (lbr *LastCronFetcher) Fetch(flags ingredient.FetcherFlags, info *status.WissKI) (err error)

Jump to

Keyboard shortcuts

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