commandbuilder

package
v1.47.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

func NewCommand

func NewCommand(formattedCmd string, a ...any) *Command

func (*Command) AddArgf

func (c *Command) AddArgf(format string, a ...any) *Command

func (*Command) String

func (c *Command) String() string

type CommandList

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

func NewCommandList

func NewCommandList() *CommandList

func (*CommandList) AddCmd

func (cl *CommandList) AddCmd(command *Command) *CommandList

func (*CommandList) AddStrCmd

func (cl *CommandList) AddStrCmd(format string, a ...any) *CommandList

func (*CommandList) String

func (cl *CommandList) String() string

Jump to

Keyboard shortcuts

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