script

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MPL-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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