Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachCommand

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

func (*AttachCommand) Execute

func (c *AttachCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*AttachCommand) Info

func (p *AttachCommand) Info() string

func (*AttachCommand) Usage added in v0.0.2

func (c *AttachCommand) Usage() string

type CdCommand

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

func (*CdCommand) Execute

func (c *CdCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*CdCommand) Info

func (c *CdCommand) Info() string

func (*CdCommand) Usage added in v0.0.2

func (c *CdCommand) Usage() string

type Command

type Command interface {
	Execute(ctx context.Context, args execx.Arguments) error
	Usage() string
	Info() string
}

type Context

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

func NewContext

func NewContext(session *session.Session) *Context

func (*Context) Command

func (c *Context) Command(name string) (Command, bool)

type ExportCommand

type ExportCommand struct{}

func (*ExportCommand) Execute

func (c *ExportCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*ExportCommand) Info

func (c *ExportCommand) Info() string

func (*ExportCommand) Usage added in v0.0.2

func (c *ExportCommand) Usage() string

type HelpCommand

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

func (*HelpCommand) Execute

func (c *HelpCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*HelpCommand) Info

func (c *HelpCommand) Info() string

func (*HelpCommand) Usage added in v0.0.2

func (c *HelpCommand) Usage() string

type KillCommand

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

func (*KillCommand) Execute

func (c *KillCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*KillCommand) Info

func (k *KillCommand) Info() string

func (*KillCommand) Usage added in v0.0.2

func (c *KillCommand) Usage() string

type PushCommand

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

func (*PushCommand) Execute

func (c *PushCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*PushCommand) Info

func (c *PushCommand) Info() string

func (*PushCommand) Usage added in v0.0.2

func (c *PushCommand) Usage() string

type PwdCommand

type PwdCommand struct{}

func (*PwdCommand) Execute

func (c *PwdCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*PwdCommand) Info

func (p *PwdCommand) Info() string

func (*PwdCommand) Usage added in v0.0.2

func (c *PwdCommand) Usage() string

type ResetCommand

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

func (*ResetCommand) Execute

func (c *ResetCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*ResetCommand) Info

func (c *ResetCommand) Info() string

func (*ResetCommand) Usage added in v0.0.2

func (c *ResetCommand) Usage() string

type StatusCommand added in v0.0.2

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

func (*StatusCommand) Execute added in v0.0.2

func (c *StatusCommand) Execute(ctx context.Context, args execx.Arguments) error

func (*StatusCommand) Info added in v0.0.2

func (c *StatusCommand) Info() string

func (*StatusCommand) Usage added in v0.0.2

func (c *StatusCommand) Usage() string

Jump to

Keyboard shortcuts

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