cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type AppConfig

type AppConfig struct {
	ConfigFile string   `config:"./examples/basic-cli/config.yaml,The yaml config file to read, true, c"`
	Messages   Messages `config:""`
	Snakes     []string `config:"\"[\"\"Mamba\"\",\"\"Viper\"\"]\", A list of snakes. Hsssss!, true, s"`
	*Embedded  `config:""`
}

type Embedded

type Embedded struct {
	Farewell string `config:"Goodbye!, The farewell to use"`
}

type Messages

type Messages struct {
	Greeting string `config:"Hello there!, The greating to use, false, g"`
}

Jump to

Keyboard shortcuts

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