cli

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTask

func CreateTask(args *Args) (*task.Task, error)

func Repeat

func Repeat(ctx context.Context, args *Args) error

Types

type Args

type Args struct {
	EnableSecondLine bool
	Repeat           bool

	Version bool
	Help    bool

	TaskSort             string
	Status               bool
	Insecure             bool
	Watch                bool
	Verbose              bool
	Silent               bool
	AssumeYes            bool
	Parallel             bool
	Dry                  bool
	ExitCode             bool
	Dir                  string
	Taskfile             string
	Output               string
	OutputGroupBegin     string
	OutputGroupEnd       string
	OutputGroupErrorOnly bool
	Concurrency          int
	Interval             time.Duration
	Global               bool
	Force                bool
	CliArgs              []string
	// contains filtered or unexported fields
}

func GetArgs

func GetArgs(args []string) *Args

func (*Args) PrintUsage

func (a *Args) PrintUsage()

func (*Args) PrintVersion

func (a *Args) PrintVersion()

Jump to

Keyboard shortcuts

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