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: pkg/commands/oscommands/cmd_obj_builder.go
+7-18Lines changed: 7 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,6 @@ type ICmdObjBuilder interface {
14
14
New(args []string) ICmdObj
15
15
// NewShell takes a string like `git commit` and returns an executable shell command for it e.g. `sh -c 'git commit'`
16
16
NewShell(commandStrstring) ICmdObj
17
-
// Like NewShell, but uses the user's shell rather than "bash", and passes -i to it
18
-
NewInteractiveShell(commandStrstring) ICmdObj
19
17
// Quote wraps a string in quotes with any necessary escaping applied. The reason for bundling this up with the other methods in this interface is that we basically always need to make use of this when creating new command objects.
0 commit comments