tooler

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyOneExecChecker

func AnyOneExecChecker(ctx context.Context, toolNames ...string) error

func ExecChecker

func ExecChecker(ctx context.Context, toolName string) error

func MultiExecChecker

func MultiExecChecker(ctx context.Context, toolNames ...string) error

Types

type Tooler

type Tooler interface {
	// Name of the tool.
	Name() string

	// Check whether the tool is available on the system.
	Gauge(context.Context) error

	// Installs the tool on the system.
	Install(context.Context) error
}

Jump to

Keyboard shortcuts

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