cmd

package
v3.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: BSD-3-Clause Imports: 20 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 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