command_args

package
v0.0.0-...-9fe59c7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandArgument

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

func NewCommandArgument

func NewCommandArgument() *CommandArgument

func (*CommandArgument) AddArgument

func (c *CommandArgument) AddArgument(arg string)

func (*CommandArgument) GetArguments

func (c *CommandArgument) GetArguments() []string

func (*CommandArgument) GetCommand

func (c *CommandArgument) GetCommand() string

func (*CommandArgument) GetFlag

func (c *CommandArgument) GetFlag(key string) (string, bool)

func (*CommandArgument) SetCommand

func (c *CommandArgument) SetCommand(name string)

func (*CommandArgument) SetLongOption

func (c *CommandArgument) SetLongOption(key string, value string)

func (*CommandArgument) SetShortOption

func (c *CommandArgument) SetShortOption(key string, value string)

Jump to

Keyboard shortcuts

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