script

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package script provides the script command.

Index

Constants

View Source
const ExperimentName = "scripts"

ExperimentName is the name of the scripts experiment.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoEntry

type InfoEntry struct {
	ScriptCfg *hcl.Script
	Stacks    config.List[*config.SortableStack]
}

InfoEntry represents a script entry.

type Matcher

type Matcher struct {
	Results []*InfoEntry
	// contains filtered or unexported fields
}

Matcher is a type with helpers to match scripts by labels.

func NewMatcher

func NewMatcher(labels []string) *Matcher

NewMatcher creates a new matcher.

func (*Matcher) Search

func (m *Matcher) Search(cfg *config.Root, stacks config.List[*config.SortableStack])

Search searches for scripts.

Directories

Path Synopsis
Package info provides the "script info" command.
Package info provides the "script info" command.
Package list provides the script list command.
Package list provides the script list command.
Package run provides the script run command.
Package run provides the script run command.
Package tree provides the script tree command.
Package tree provides the script tree command.

Jump to

Keyboard shortcuts

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