shell

package
v1.40.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(log logrus.FieldLogger) *cli.Command

NewCmd creates a new cli.Command for the `apps dev` command

Types

type Options

type Options struct {

	// DeploymentProfile is the profile to use with devspace, it's passed in in an env variable $DEVENV_DEV_DEPLOYMENT_PROFILE
	DeploymentProfile string

	// AppNameOrPath is the app to dev either (in case of dev it should always be path)
	AppNameOrPath string
	// contains filtered or unexported fields
}

Options are various options for the `apps dev` command

func NewOptions

func NewOptions(log logrus.FieldLogger) (*Options, error)

NewOptions create an initialized options struct for the `apps dev` command

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Run runs the `apps dev` command

Jump to

Keyboard shortcuts

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