tool

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package tool provides tool management functionality for Orla.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToolInfo

func GetToolInfo(toolName string, opts InfoOptions) error

GetToolInfo retrieves and displays detailed information about an installed tool

func InstallTool

func InstallTool(toolName string, opts InstallOptions) error

InstallTool installs a tool from the registry or local path

func ListTools

func ListTools(opts ListOptions) error

ListTools lists all installed tools with the specified output format

func SearchTools

func SearchTools(query string, opts SearchOptions) error

SearchTools searches the registry for tools matching the query

func UninstallTool

func UninstallTool(toolName string) error

UninstallTool removes an installed tool

func UpdateTool

func UpdateTool(toolName string, opts UpdateOptions) error

UpdateTool updates a tool to the latest version from the given registry URL

Types

type InfoOptions

type InfoOptions struct {
	JSON   bool
	Writer io.Writer
}

InfoOptions configures the output format for tool info

type InstallOptions

type InstallOptions struct {
	RegistryURL string
	Version     string
	LocalPath   string
	Writer      io.Writer
}

InstallOptions configures tool installation

type ListOptions

type ListOptions struct {
	JSON    bool
	Verbose bool
	Writer  io.Writer
}

ListOptions configures the output format for listing tools

type SearchOptions

type SearchOptions struct {
	RegistryURL string
	Verbose     bool
	JSON        bool
	Writer      io.Writer
}

SearchOptions configures the output format for searching tools

type UpdateOptions

type UpdateOptions struct {
	RegistryURL string
	Writer      io.Writer
}

UpdateOptions configures tool update functionality given a registry URL

Jump to

Keyboard shortcuts

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