initcmd

package
v2.56.5 Latest Latest
Warning

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

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

Documentation

Overview

Package initcmd implements the aqua init command for creating configuration files. The init command creates new aqua configuration files with optional directory structure and import configurations for project initialization.

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 project initialization. The returned command creates aqua configuration files with options for directory structure and import configurations.

Types

type Args added in v2.56.2

type Args struct {
	*cliargs.GlobalArgs

	UseImportDir bool
	ImportDir    string
	CreateDir    bool
	FilePath     string
}

Args holds command-line arguments for the init command.

Jump to

Keyboard shortcuts

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