service

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActualCommandName added in v0.5.4

func ActualCommandName(appArgs []string) string

func DispatchCommands

func DispatchCommands(
	c inter.Cli,
	commands []inter.Command,
	flagProviders []func() []flag.Getter,
) inter.ExitCode

func RenderIndex

func RenderIndex(c inter.Cli, commands []inter.Command) inter.ExitCode

Types

type Field added in v0.5.4

type Field struct {
	Number int
	Tag    reflect.StructTag
	Value  interface{}
}

func GetCommandFields added in v0.5.4

func GetCommandFields(command interface{}) []Field

Jump to

Keyboard shortcuts

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