cmd

package
v2.999.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the cobra CLI workflow

func MustMarshalToString added in v2.999.3

func MustMarshalToString(v interface{}) string

func NewRootCmd

func NewRootCmd() *cobra.Command

func NewShowConfigCmd

func NewShowConfigCmd() *cobra.Command

Types

type RootApp

type RootApp struct {
	config.Config
}

func GetRootAppFromViper

func GetRootAppFromViper(v *viper.Viper) (*RootApp, error)

func (*RootApp) Run

func (r *RootApp) Run() error

Jump to

Keyboard shortcuts

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