persistentflags

package
v0.0.0-...-4729a3b Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package persistentflags is used to configure and parse persistent flags across all subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(agentName string, osType string, rootCmd *cobra.Command)

Register registers the persistent flags for the root command.

func SetValues

func SetValues(agentName string, lp *log.Parameters, cmd *cobra.Command)

SetValues sets the persistent flags for the subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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