context

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigFile

func LoadConfigFile() (*config.LedoFile, error)

func ResolveRootPath

func ResolveRootPath(configFile string) string

Types

type LedoContext

type LedoContext struct {
	*cli.Context
	Config      *config.LedoFile
	ComposeArgs []string
	Mode        mode.Mode
}

func InitCommand

func InitCommand(ctx *cli.Context) *LedoContext

func (*LedoContext) ExecCmd

func (lx *LedoContext) ExecCmd(cmd string, cmdArgs []string) error

func (*LedoContext) ExecCmdOutput

func (lx *LedoContext) ExecCmdOutput(cmd string, cmdArgs []string) ([]byte, error)

func (*LedoContext) ExecCmdSilent

func (lx *LedoContext) ExecCmdSilent(cmd string, cmdArgs []string) error

func (*LedoContext) GetRuntimeCommand

func (lx *LedoContext) GetRuntimeCommand() string

func (*LedoContext) GetRuntimeCompose

func (lx *LedoContext) GetRuntimeCompose() string

Jump to

Keyboard shortcuts

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