command

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Pipe = Raw("|")

Variables

View Source
var ErrInvalidType = errors.New("invalid type")

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(p ...any) *Builder

func (*Builder) Push

func (j *Builder) Push(p ...any) *Builder

func (Builder) String

func (j Builder) String() string

func (*Builder) Unshift

func (j *Builder) Unshift(p ...any) *Builder

type Env

type Env struct {
	Key   string
	Value string
}

func NewEnv

func NewEnv(k, v string) Env

func (Env) Quote added in v1.12.0

func (e Env) Quote() string

type Quoter added in v1.12.0

type Quoter interface {
	Quote() string
}

type Raw

type Raw string

func (Raw) Quote added in v1.12.0

func (r Raw) Quote() string

type Split added in v1.12.0

type Split string

func (Split) Quote added in v1.12.0

func (s Split) Quote() string

Jump to

Keyboard shortcuts

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