@@ -25,19 +25,19 @@ type Devbox interface {
25
25
ProjectDir () string
26
26
// Generate creates the directory of Nix files and the Dockerfile that define
27
27
// the devbox environment.
28
- Generate () error
29
- GenerateDevcontainer (force bool ) error
30
- GenerateDockerfile (force bool ) error
31
- GenerateEnvrcFile (force bool ) error
32
- Info (pkg string , markdown bool ) error
28
+ Generate (ctx context. Context ) error
29
+ GenerateDevcontainer (ctx context. Context , force bool ) error
30
+ GenerateDockerfile (ctx context. Context , force bool ) error
31
+ GenerateEnvrcFile (ctx context. Context , force bool ) error
32
+ Info (ctx context. Context , pkg string , markdown bool ) error
33
33
Install (ctx context.Context ) error
34
34
IsEnvEnabled () bool
35
35
ListScripts () []string
36
36
PrintEnv (ctx context.Context , includeHooks bool ) (string , error )
37
37
PrintEnvVars (ctx context.Context ) ([]string , error )
38
38
PrintGlobalList () error
39
39
Pull (ctx context.Context , overwrite bool , path string ) error
40
- Push (url string ) error
40
+ Push (ctx context. Context , url string ) error
41
41
// Remove removes Nix packages from the config so that it no longer exists in
42
42
// the devbox environment.
43
43
Remove (ctx context.Context , pkgs ... string ) error
@@ -48,7 +48,7 @@ type Devbox interface {
48
48
Shell (ctx context.Context ) error
49
49
// ShellPlan creates a plan of the actions that devbox will take to generate its
50
50
// shell environment.
51
- ShellPlan () (* plansdk.FlakePlan , error )
51
+ ShellPlan (ctx context. Context ) (* plansdk.FlakePlan , error )
52
52
StartProcessManager (ctx context.Context , requestedServices []string , background bool , processComposeFileOrDir string ) error
53
53
StartServices (ctx context.Context , services ... string ) error
54
54
StopServices (ctx context.Context , allProjects bool , services ... string ) error
0 commit comments