cmd

package
v0.45.4-reap.sdk.v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 5

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