generate

package
v2.56.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package generate implements the aqua generate command for interactive package configuration. The generate command allows users to search for packages in registries and generate configuration entries interactively, supporting both command-line and fuzzy finder interfaces.

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 package configuration generation. The returned command provides interactive package search and configuration generation capabilities with various output and selection options.

Types

type Args added in v2.56.2

type Args struct {
	*cliargs.GlobalArgs

	File          string
	Insert        bool
	Pin           bool
	Global        bool
	Detail        bool
	OutputFile    string
	SelectVersion bool
	Limit         int
	Packages      []string
}

Args holds command-line arguments for the generate command.

Jump to

Keyboard shortcuts

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