@@ -6,7 +6,6 @@ package boxcli
6
6
import (
7
7
"bytes"
8
8
"encoding/json"
9
- "fmt"
10
9
"os/exec"
11
10
12
11
"github.com/spf13/cobra"
@@ -32,7 +31,6 @@ func integrateCmd() *cobra.Command {
32
31
},
33
32
}
34
33
command .AddCommand (integrateVSCodeCmd ())
35
- command .AddCommand (integrateTestCmd ())
36
34
return command
37
35
}
38
36
@@ -51,38 +49,6 @@ func integrateVSCodeCmd() *cobra.Command {
51
49
return command
52
50
}
53
51
54
- func integrateTestCmd () * cobra.Command {
55
- flags := & integrateCmdFlags {}
56
- command := & cobra.Command {
57
- Use : "test" ,
58
- Hidden : true ,
59
- Short : "for test purposes" ,
60
- RunE : func (cmd * cobra.Command , args []string ) error {
61
- return runIntegrateTestCmd (cmd , flags )
62
- },
63
- }
64
- flags .config .register (command )
65
-
66
- return command
67
- }
68
-
69
- func runIntegrateTestCmd (cmd * cobra.Command , flags * integrateCmdFlags ) error {
70
- box , err := devbox .Open (& devopt.Opts {
71
- Dir : flags .config .path ,
72
- Writer : cmd .OutOrStdout (),
73
- })
74
- if err != nil {
75
- return err
76
- }
77
- // Get env variables of a devbox shell
78
- envVars , err := box .PrintEnvVars (cmd .Context ())
79
- if err != nil {
80
- return err
81
- }
82
- fmt .Println (envVars )
83
- return nil
84
- }
85
-
86
52
type parentMessage struct {
87
53
ConfigDir string `json:"configDir"`
88
54
}
0 commit comments