You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/enter.go
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ type EnterCmd struct {
30
30
Containerstring
31
31
Podstring
32
32
Pickbool
33
+
TTYbool
33
34
Waitbool
34
35
Reconnectbool
35
36
Screenbool
@@ -78,6 +79,7 @@ devspace enter bash --image-selector "${runtime.images.app.image}:${runtime.imag
78
79
enterCmd.Flags().StringVar(&cmd.ImageSelector, "image-selector", "", "The image to search a pod for (e.g. nginx, nginx:latest, ${runtime.images.app}, nginx:${runtime.images.app.tag})")
79
80
enterCmd.Flags().StringVar(&cmd.WorkingDirectory, "workdir", "", "The working directory where to open the terminal or execute the command")
80
81
82
+
enterCmd.Flags().BoolVar(&cmd.TTY, "tty", true, "If to use a tty to start the command")
81
83
enterCmd.Flags().BoolVar(&cmd.Pick, "pick", true, "Select a pod / container if multiple are found")
82
84
enterCmd.Flags().BoolVar(&cmd.Wait, "wait", false, "Wait for the pod(s) to start if they are not running")
83
85
enterCmd.Flags().BoolVar(&cmd.Reconnect, "reconnect", false, "Will reconnect the terminal if an unexpected return code is encountered")
Copy file name to clipboardExpand all lines: devspace-schema.json
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1813,6 +1813,10 @@
1813
1813
"disableScreen": {
1814
1814
"type": "boolean",
1815
1815
"description": "DisableScreen will disable screen which is used by DevSpace by default to preserve\nsessions if connections interrupt or the session is lost."
1816
+
},
1817
+
"disableTTY": {
1818
+
"type": "boolean",
1819
+
"description": "DisableTTY will disable a tty shell for terminal command execution"
0 commit comments