config

package
v1.3.1-beta.v1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplyCmd

func NewApplyCmd(f *flags.GlobalFlags) *cobra.Command

func NewConfigCmd

func NewConfigCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewConfigCmd builds the 'devsy config' parent command for reading and applying devcontainer configuration.

func NewReadCmd

func NewReadCmd(f *flags.GlobalFlags) *cobra.Command

NewReadCmd creates a new 'config read' command.

Types

type ApplyCmd

type ApplyCmd struct {
	*flags.GlobalFlags

	Container       string
	Config          string
	WorkspaceFolder string
	DockerPath      string
}

func (*ApplyCmd) Run

func (cmd *ApplyCmd) Run(ctx context.Context) error

type ReadCmd

type ReadCmd struct {
	*flags.GlobalFlags

	WorkspaceFolder              string
	Config                       string
	ContainerID                  string
	IDLabels                     []string
	DockerPath                   string
	IncludeFeaturesConfiguration bool
	IncludeMergedConfiguration   bool
}

ReadCmd holds the 'config read' command flags.

func (*ReadCmd) Run

func (cmd *ReadCmd) Run(
	c *cobra.Command,
	_ []string,
) error

Run executes the 'config read' command.

Jump to

Keyboard shortcuts

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