cliargs

package
v2.56.6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package cliargs provides common CLI argument structures and flag definitions shared across aqua CLI commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalFlags

func GlobalFlags(args *GlobalArgs) []cli.Flag

GlobalFlags returns the global CLI flags with destinations bound to the provided GlobalArgs.

Types

type GlobalArgs

type GlobalArgs struct {
	LogLevel                         string
	Config                           string
	DisableCosign                    bool
	DisableSLSA                      bool
	DisableGitHubArtifactAttestation bool
	DisableGitHubReleaseAttestation  bool
	Trace                            string
	CPUProfile                       string
}

GlobalArgs holds global CLI flags that are available to all commands.

Jump to

Keyboard shortcuts

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