cmd

package
v0.0.0-...-2a91c6f Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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