command

package
v0.0.0-...-46749fd Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package command implements the top-level `trace-agent` binary, including its subcommands.

Index

Constants

View Source
const (
	// LoggerName is the application logger identifier
	LoggerName = "TRACE"
)

Variables

This section is empty.

Functions

func FixDeprecatedFlags

func FixDeprecatedFlags(args []string, w io.Writer) []string

FixDeprecatedFlags transforms args so that they are conforming to the new CLI structure: - replace non-posix flags posix flags - replace deprecated flags with their command equivalents - display warnings when deprecated flags are encountered

func MakeRootCommand

func MakeRootCommand() *cobra.Command

MakeRootCommand is the root command for the trace-agent Please note that the trace-agent can be launched directly by the root command, unlike other agents that are managed with subcommands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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