tools

package
v0.2.34 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequiredTools = []Prerequisite{
	{Name: "Python", Command: "python3", URL: "https://www.python.org/downloads/"},
	{Name: "uv", Command: "uv", URL: "https://docs.astral.sh/uv/getting-started/installation/"},
	{Name: "task", Command: "task", URL: "https://taskfile.dev/docs/installation"},
	{Name: "pulumi", Command: "pulumi", URL: "https://www.pulumi.com/docs/get-started/download-install/"},
}

RequiredTools lists all tools required for the quickstart process

Functions

func CheckPrerequisite

func CheckPrerequisite(name string) error

func CheckTool

func CheckTool(name string) error

CheckTool verifies if a specific tool is installed

func GetMissingTools

func GetMissingTools() []string

GetMissingTools returns a list of missing prerequisite tools

func MissingPrerequisites added in v0.2.18

func MissingPrerequisites() string

MissingPrerequisites verifies that all required tools are installed

func SufficientSelfVersion added in v0.2.18

func SufficientSelfVersion(minimal string) bool

Types

type Prerequisite

type Prerequisite struct {
	Key            string
	Name           string `yaml:"name"`
	MinimumVersion string `yaml:"minimum-version"`
	Command        string `yaml:"command"`
	URL            string `yaml:"url"`
}

Prerequisite represents a required tool

func GetRequirements added in v0.2.18

func GetRequirements() ([]Prerequisite, error)

func GetSelfRequirement added in v0.2.18

func GetSelfRequirement() (Prerequisite, error)

Jump to

Keyboard shortcuts

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