plugins

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginPrefix = "arara-"
)

Variables

This section is empty.

Functions

func ExpandPath

func ExpandPath(path string) (string, error)

Types

type Discoverer

type Discoverer struct {
	PathEnv   string
	ExtraDirs []string
	Disabled  map[string]struct{}
	// contains filtered or unexported fields
}

func NewDiscoverer

func NewDiscoverer(pathEnv string, extraDirs []string, disabled []string) *Discoverer

func (*Discoverer) Discover

func (discoverer *Discoverer) Discover() ([]Plugin, error)

type Executor

type Executor struct {
	GlobalEnv map[string]string
	Stdin     *os.File
	Stdout    *os.File
	Stderr    *os.File
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor() *Executor

func (*Executor) Execute

func (executor *Executor) Execute(ctx context.Context, plugin Plugin, arguments []string) error

type Plugin

type Plugin struct {
	Name        string
	BinaryPath  string
	Description string
}

Jump to

Keyboard shortcuts

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