refs

package
v3.54.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package refs resolves the `ref` fields of a Taskfile into concrete values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsList

func AsList(v any) ([]any, bool)

Declared lists resolve to a []any, but `keys` and `splitList` return a []string.

func ResolveEnum

func ResolveEnum(v *ast.VarsWithValidation, vars *ast.Vars) *ast.VarsWithValidation

A ref depending on dynamic vars may not resolve: the copy then has no enum value, which the interactive prompter treats as free-form input.

func ResolveEnums

func ResolveEnums(requires *ast.Requires, cache *templater.Cache) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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