cli

package
v2.55.2-0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package cli provides the command-line interface for aqua. It handles command parsing, flag processing, and routing to appropriate subcommands using the urfave/cli/v3 framework. This package is responsible for user interaction and delegates business logic to the controller package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v2.36.2

func Run(ctx context.Context, param *util.Param, args ...string) error

Run executes the aqua CLI application with the given context, parameters, and arguments. It sets up the main command with all flags and subcommands, then runs it using the urfave CLI framework. This is the main entry point for the aqua CLI application.

Types

type Runner

type Runner struct{}

Runner is the main CLI runner for aqua commands. It provides the entry point for executing aqua CLI operations.

Directories

Path Synopsis
Package cp implements the aqua cp command for copying executable files.
Package cp implements the aqua cp command for copying executable files.
Package cpuprofile provides CPU profiling functionality for aqua CLI operations.
Package cpuprofile provides CPU profiling functionality for aqua CLI operations.
Package exec implements the aqua exec command for executing installed tools.
Package exec implements the aqua exec command for executing installed tools.
Package generate implements the aqua generate command for interactive package configuration.
Package generate implements the aqua generate command for interactive package configuration.
Package genr implements the aqua generate-registry command for creating registry configurations.
Package genr implements the aqua generate-registry command for creating registry configurations.
Package info implements the aqua info command for displaying system information.
Package info implements the aqua info command for displaying system information.
Package initcmd implements the aqua init command for creating configuration files.
Package initcmd implements the aqua init command for creating configuration files.
Package install implements the aqua install command for downloading and installing tools.
Package install implements the aqua install command for downloading and installing tools.
Package list implements the aqua list command for listing packages in registries.
Package list implements the aqua list command for listing packages in registries.
Package policy implements the aqua policy commands for managing security policies.
Package policy implements the aqua policy commands for managing security policies.
Package profile provides unified profiling functionality for aqua CLI operations.
Package profile provides unified profiling functionality for aqua CLI operations.
Package remove implements the aqua remove command for uninstalling packages.
Package remove implements the aqua remove command for uninstalling packages.
Package root implements the aqua root-dir command for displaying the aqua root directory.
Package root implements the aqua root-dir command for displaying the aqua root directory.
Package token implements the aqua token command for managing GitHub tokens.
Package token implements the aqua token command for managing GitHub tokens.
Package tracer provides execution tracing functionality for aqua CLI operations.
Package tracer provides execution tracing functionality for aqua CLI operations.
Package upc implements the aqua update-checksum command for updating package checksums.
Package upc implements the aqua update-checksum command for updating package checksums.
Package update implements the aqua update command for updating packages and registries.
Package update implements the aqua update command for updating packages and registries.
Package updateaqua implements the aqua update-aqua command for updating aqua itself.
Package updateaqua implements the aqua update-aqua command for updating aqua itself.
Package util provides utility functions and types for the aqua CLI package.
Package util provides utility functions and types for the aqua CLI package.
Package vacuum implements the aqua vacuum command for cleaning up unused packages.
Package vacuum implements the aqua vacuum command for cleaning up unused packages.
Package which implements the aqua which command for locating executable files.
Package which implements the aqua which command for locating executable files.

Jump to

Keyboard shortcuts

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