cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 19 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

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

type Command

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

type Context

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

func NewContext

func NewContext(session *session.Session, debug bool) *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

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

type HistoryCommand

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

func (*HistoryCommand) Execute

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

func (*HistoryCommand) Info

func (k *HistoryCommand) Info() string

type JobsCommand

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

func (*JobsCommand) Execute

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

func (*JobsCommand) Info

func (j *JobsCommand) Info() 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

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

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

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 (k *ResetCommand) Info() string

Jump to

Keyboard shortcuts

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