shellarg

package
v0.0.26 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasNextValue

func HasNextValue(i int, args []string) bool

Types

type ShellArg

type ShellArg struct {
	Tags *hmap.StringKeyLinkedMap
	// contains filtered or unexported fields
}

func NewShellArg

func NewShellArg(args []string) *ShellArg

func (*ShellArg) Get

func (this *ShellArg) Get(key string, defaultValue string) string

func (*ShellArg) Get2

func (this *ShellArg) Get2(key string) string

func (*ShellArg) GetBoolean

func (this *ShellArg) GetBoolean(key string, defaultValue bool) bool

func (*ShellArg) GetInt

func (this *ShellArg) GetInt(key string, defaultValue int32) int32

func (*ShellArg) GetLong

func (this *ShellArg) GetLong(key string, defaultValue int64) int64

func (*ShellArg) HasKey

func (this *ShellArg) HasKey(key string) bool

func (*ShellArg) Keys

func (this *ShellArg) Keys() hmap.StringEnumer

func (*ShellArg) Put

func (this *ShellArg) Put(key string, value string)

Jump to

Keyboard shortcuts

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