flags

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version          bool
	Help             bool
	Init             bool
	Migrate          bool
	MigrateKeepGoTpl bool
	Validate         bool
	Completion       string
	List             bool
	ListAll          bool
	ListJson         bool
	TaskSort         string
	Status           bool
	NoStatus         bool
	Nested           bool
	Force            bool
	ForceAll         bool
	Watch            bool
	Verbose          bool
	Silent           bool
	DisableFuzzy     bool
	AssumeYes        bool
	Dry              bool
	Summary          bool
	ExitCode         bool
	Parallel         bool
	Concurrency      int
	Dir              string
	Entrypoint       string
	Output           ast.Output
	Color            bool
	Interval         time.Duration
	Failfast         bool
	Global           bool
	Experiments      bool
	Interactive      bool
	// Timestamps carries the CLI value of `--timestamps`. NoOptDefVal is
	// set so a bare `--timestamps` (no value) means "on with default
	// layout"; a string value is a strftime format; the flag going
	// unchanged leaves this nil, which means "no CLI override — fall
	// through to Ritefile scope".
	Timestamps *ast.Timestamps
)

Functions

func ValidateFlags added in v1.0.2

func ValidateFlags() error

func WithFlags

func WithFlags() task.ExecutorOption

WithFlags is a special internal functional option that is used to pass flags from the CLI into any constructor that accepts functional options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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