service

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DispatchCommands

func DispatchCommands(
	app inter.App,
	output io.Writer,
	commands []inter.Command,
	flagProviders []func() []flag.Getter,
) inter.ExitCode

func RenderIndex

func RenderIndex(app inter.App, output io.Writer, commands []inter.Command) inter.ExitCode

Types

type ParsedOption

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

func GetOptions

func GetOptions(command interface{}) []ParsedOption

Jump to

Keyboard shortcuts

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