MCPcopy Index your code
hub / github.com/jetify-com/devbox / integrateVSCodeCmd

Function integrateVSCodeCmd

internal/boxcli/integrate.go:44–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func integrateVSCodeCmd() *cobra.Command {
45 flags := integrateCmdFlags{}
46 command := &cobra.Command{
47 Use: "vscode",
48 Hidden: true,
49 Short: "Integrate devbox environment with VSCode or other VSCode-based editors.",
50 RunE: func(cmd *cobra.Command, args []string) error {
51 return runIntegrateVSCodeCmd(cmd, flags)
52 },
53 }
54 command.Flags().BoolVar(&flags.debugmode, "debugmode", false, "enable debug outputs to a file.")
55 command.Flags().StringVar(&flags.ideName, "ide", "code", "name of the currently open editor to reopen after it's closed.")
56 flags.config.register(command)
57
58 return command
59}
60
61type parentMessage struct {
62 ConfigDir string `json:"configDir"`

Callers 1

integrateCmdFunction · 0.85

Calls 2

runIntegrateVSCodeCmdFunction · 0.85
registerMethod · 0.45

Tested by

no test coverage detected