root

package
v0.0.0-...-a56eff2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogLevel           string
	LocalTemplateCache string
)

Functions

func CreateRootCommand

func CreateRootCommand() *cobra.Command

func GetCalledCommand

func GetCalledCommand(cmd *cobra.Command) (string, string)

Returns the cobra command called, e.g. new or install and also the fully formatted command as passed with arguments/flags. Idea borrowed from carolynvs/porter: https://github.com/carolynvs/porter/blob/ccca10a63627e328616c1006600153da8411a438/cmd/porter/main.go

func InitConfig

func InitConfig()

func InitLogger

func InitLogger()

Types

This section is empty.

Jump to

Keyboard shortcuts

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