varcmd

package
v0.0.0-...-8582e00 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VarCmd

type VarCmd struct {
	Block    *conf.Block
	Modified []string
	Vars     map[string]string
}

VarCmd represents a set of variables for a specific block and mod set. It should be re-created anew each time the block is executed.

func (*VarCmd) Render

func (v *VarCmd) Render(cmd string) (string, error)

Render renders the command with a map of variables

Jump to

Keyboard shortcuts

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