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

ide

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIDECmd

func NewIDECmd(flags *flags.GlobalFlags) *cobra.Command

NewIDECmd returns a new command.

func NewListCmd

func NewListCmd(flags *flags.GlobalFlags) *cobra.Command

NewListCmd creates a new command.

func NewOptionsCmd

func NewOptionsCmd(flags *flags.GlobalFlags) *cobra.Command

NewOptionsCmd creates a new command.

func NewSetCmd added in v1.3.1

func NewSetCmd(flags *flags.GlobalFlags) *cobra.Command

NewSetCmd creates the 'devsy ide set' command. It sets global options for the named IDE. To assign an IDE to a specific workspace, use 'devsy workspace set-ide <workspace> <ide>'.

func NewUseCmd

func NewUseCmd(flags *flags.GlobalFlags) *cobra.Command

NewUseCmd creates a new command.

Types

type IDEWithDefault

type IDEWithDefault struct {
	ideparse.AllowedIDE `json:",inline"`

	Default bool `json:"default,omitempty"`
}

type ListCmd

type ListCmd struct {
	*flags.GlobalFlags
}

ListCmd holds the list cmd flags.

func (*ListCmd) Run

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

Run runs the command logic.

type OptionsCmd

type OptionsCmd struct {
	*flags.GlobalFlags
}

OptionsCmd holds the options cmd flags.

func (*OptionsCmd) Run

func (cmd *OptionsCmd) Run(ctx context.Context, ide string) error

Run runs the command logic.

type SetCmd added in v1.3.1

type SetCmd struct {
	*flags.GlobalFlags

	Options []string
}

SetCmd holds the set cmd flags.

func (*SetCmd) Run added in v1.3.1

func (cmd *SetCmd) Run(_ context.Context, ideName string) error

Run runs the command logic.

type UseCmd

type UseCmd struct {
	*flags.GlobalFlags

	Options []string
}

UseCmd holds the use cmd flags.

func (*UseCmd) Run

func (cmd *UseCmd) Run(ctx context.Context, ide string) error

Run runs the command logic.

Jump to

Keyboard shortcuts

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