upctl

package
v2.0.0-...-54fa3a0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(fs FlagSet, obj any) error

func Execute

func Execute(version string)

Types

type FlagSet

type FlagSet interface {
	StringVarP(ptr *string, name, shorthand, value, usage string)
	Int64VarP(ptr *int64, name, shorthand string, value int64, usage string)
	Float64VarP(ptr *float64, name, shorthand string, value float64, usage string)
	BoolVarP(ptr *bool, name, shorthand string, value bool, usage string)
	StringSliceVarP(ptr *[]string, name, shorthand string, value []string, usage string)
}

Jump to

Keyboard shortcuts

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