cli

package
v0.0.0-...-1fe3ad9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoArguments = []Argument{
	&NoMoreArguments{},
}

Functions

func EnvVars

func EnvVars(keys ...string) cli.ValueSourceChain

func FormatSize

func FormatSize(s uint64) string

func ParseSize

func ParseSize(s string) (uint64, error)

Types

type Argument

type Argument = cli.Argument

type BoolFlag

type BoolFlag = cli.BoolFlag

type BoolWithInverseFlag

type BoolWithInverseFlag = cli.BoolWithInverseFlag

type Command

type Command = cli.Command

type DurationFlag

type DurationFlag = cli.DurationFlag

type ExitCoder

type ExitCoder = cli.ExitCoder

func Exit

func Exit(message any, exitCode int) ExitCoder

type Flag

type Flag = cli.Flag

type Int64Arg

type Int64Arg = cli.Int64Arg

type Int64Flag

type Int64Flag = cli.Int64Flag

type IntArg

type IntArg = cli.IntArg

type IntFlag

type IntFlag = cli.IntFlag

type NoMoreArguments

type NoMoreArguments struct {
	StringArgs
}

func (*NoMoreArguments) Parse

func (a *NoMoreArguments) Parse(s []string) ([]string, error)

type SizeArg

type SizeArg = cli.ArgumentBase[uint64, cli.NoConfig, sizeValue]

type SizeArgs

type SizeArgs = cli.ArgumentsBase[uint64, cli.NoConfig, sizeValue]

type SizeFlag

type SizeFlag = cli.FlagBase[uint64, cli.NoConfig, sizeValue]

type StringArg

type StringArg = cli.StringArg

type StringArgs

type StringArgs = cli.StringArgs

type StringFlag

type StringFlag = cli.StringFlag

type StringMapArgs

type StringMapArgs = cli.StringMapArgs

type StringSliceFlag

type StringSliceFlag = cli.StringSliceFlag

type Uint64Arg

type Uint64Arg = cli.Uint64Arg

type Uint64Flag

type Uint64Flag = cli.Uint64Flag

type UintArg

type UintArg = cli.UintArg

type UintFlag

type UintFlag = cli.UintFlag

Jump to

Keyboard shortcuts

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