workflow

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionFunc

func GetActionFunc(action Action, filter bool, cache bool) cli.ActionFunc

func GetStringFlags

func GetStringFlags(usage string, names ...string) []cli.Flag

Types

type Action

type Action interface {
	FetchNewest(ctx *Context) error

	BuildItems(ctx *Context) error
}

type Context

type Context struct {
	*aw.Workflow
	// contains filtered or unexported fields
}

func (*Context) GetBoolFlag

func (c *Context) GetBoolFlag(flag string) bool

func (*Context) GetFirstQuery

func (c *Context) GetFirstQuery() string

func (*Context) GetLastQuery

func (c *Context) GetLastQuery() string

func (*Context) GetStringFlag

func (c *Context) GetStringFlag(flag string) string

Jump to

Keyboard shortcuts

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