ide

package
v0.5.20-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MPL-2.0 Imports: 14 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 NewSetOptionsCmd

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

NewSetOptionsCmd creates a new command

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

	Output string
}

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

	Output string
}

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 SetOptionsCmd

type SetOptionsCmd struct {
	flags.GlobalFlags

	Options []string
}

SetOptionsCmd holds the setOptions cmd flags

func (*SetOptionsCmd) Run

func (cmd *SetOptionsCmd) Run(ctx context.Context, ide 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