cmd

package
v0.49.0-rc3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(rootCmd *cobra.Command, defaultHome string) error

Execute executes the root command of an application. It handles creating a server context object with the appropriate server and client objects injected into the underlying stdlib Context. It also handles adding core CLI flags, specifically the logging flags. It returns an error upon execution failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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