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/rwx/sandbox.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -207,6 +207,7 @@ CONFIG FILE
207
207
Json: useJson,
208
208
Sync: !sandboxNoSync,
209
209
InitParameters: initParams,
210
+
Reset: sandboxReset,
210
211
})
211
212
iferr!=nil {
212
213
returnerr
@@ -388,6 +389,7 @@ var (
388
389
sandboxOpenbool
389
390
sandboxWaitbool
390
391
sandboxNoSyncbool
392
+
sandboxResetbool
391
393
sandboxInitParams []string
392
394
)
393
395
@@ -411,6 +413,7 @@ func init() {
411
413
sandboxExecCmd.Flags().StringVar(&sandboxRunID, "id", "", "Use specific run ID")
412
414
sandboxExecCmd.Flags().BoolVar(&sandboxOpen, "open", false, "Open the run in a browser")
413
415
sandboxExecCmd.Flags().BoolVar(&sandboxNoSync, "no-sync", false, "Skip syncing local changes before execution")
416
+
sandboxExecCmd.Flags().BoolVar(&sandboxReset, "reset", false, "Reset the sandbox before executing")
414
417
sandboxExecCmd.Flags().StringArrayVar(&sandboxInitParams, "init", []string{}, "initialization parameters for the sandbox run, available in the `init` context. Can be specified multiple times")
0 commit comments