Go API Documentation

github.com/go-task/task/v3/internal/flags

No package summary is available.

Package

Files: 1. Third party imports: 1. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Constants

Vars

Types

flagsOption

This type doesn't have documentation.

Functions

func Validate

Uses: errors.New.

func WithFlags

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

func (*flagsOption) ApplyToExecutor

Uses: os.UserHomeDir, sort.AlphaNumeric, sort.NoSort, sort.Sorter.

Private functions

func init

References: cmp.Or, env.GetTaskEnv, experiments.GentleForce, experiments.Parse, experiments.RemoteTaskfiles, filepath.Dir, log.Print, log.SetFlags, log.SetOutput, os.Args, os.Stderr, pflag.BoolVar, pflag.BoolVarP, pflag.ContinueOnError, pflag.DurationVar, pflag.DurationVarP, pflag.IntVarP, pflag.NewFlagSet, pflag.Parse, pflag.PrintDefaults, pflag.StringVar, pflag.StringVarP, pflag.Usage, strconv.ParseBool, time.Second.