sdk

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Option added in v0.16.0

func Option(key string, dval any, desc string, vfunc options.ValueValidator) options.OptionSpec

Types

type Args

type Args struct {
	// contains filtered or unexported fields
}

func NewArgs

func NewArgs(flags varflag.Flags) *Args

func (*Args) Arg

func (a *Args) Arg(i uint) vars.Value

func (*Args) ArgDefault

func (a *Args) ArgDefault(i uint, value any) (vars.Value, error)

func (*Args) ArgVarDefault

func (a *Args) ArgVarDefault(i uint, key string, value any) (vars.Variable, error)

func (*Args) Argn

func (a *Args) Argn() uint

func (*Args) Args

func (a *Args) Args() []vars.Value

func (*Args) Flag

func (a *Args) Flag(name string) varflag.Flag

Directories

Path Synopsis
cli
Package cli provides utilities for happy command line interfaces.
Package cli provides utilities for happy command line interfaces.
networking
address
Package address provides functions for working with "happy" addresses, which are URL-like strings that define the location of a resource in the "happy" system.
Package address provides functions for working with "happy" addresses, which are URL-like strings that define the location of a resource in the "happy" system.

Jump to

Keyboard shortcuts

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