repository

package
v0.0.0-...-850f177 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillHistory

func FillHistory(h *HistoryResponse, files []string)

func FilterOutInternal

func FilterOutInternal(task *taskfile.Task) bool

FilterOutInternal removes all tasks that are marked as internal.

func FilterOutNoDesc

func FilterOutNoDesc(task *taskfile.Task) bool

FilterOutNoDesc removes all tasks that do not contain a description.

func FindTask

func FindTask(spec *taskfile.Taskfile, name string) (*taskfile.Task, error)

FindTask returns the taskfile.Task for a given name.

func ListTasks

func ListTasks(spec *taskfile.Taskfile, filters ...FilterFunc) []*TaskInfo

List tasks lists the names of the defined tasks.

func LoadHistory

func LoadHistory(name string) (result []HistoryRecord)

Types

type FilterFunc

type FilterFunc func(task *taskfile.Task) bool

FilterFunc is a signature for task filters.

Jump to

Keyboard shortcuts

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