which

package
v2.57.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package which implements the aqua which command for locating executable files. The which command outputs the absolute file path of installed tools, helping users understand which version and location of a tool is being used.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(r *util.Param, globalArgs *cliargs.GlobalArgs) *cli.Command

New creates and returns a new CLI command for locating executables. The returned command provides functionality to find the absolute path of installed tools managed by aqua.

Types

type Args added in v2.56.2

type Args struct {
	*cliargs.GlobalArgs

	ShowVersion bool
	Command     string
}

Args holds command-line arguments for the which command.

Jump to

Keyboard shortcuts

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