We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e16687f commit a2fa226Copy full SHA for a2fa226
1 file changed
internal/boxcli/init.go
@@ -42,6 +42,9 @@ func initCmd() *cobra.Command {
42
if err != nil {
43
return err
44
}
45
+ if flags.dryRun {
46
+ return nil
47
+ }
48
fmt.Fprintf(cmd.OutOrStdout(), "Created devbox.json in %s\n", path)
49
fmt.Fprintln(cmd.OutOrStdout(), "Run `devbox add <package>` to add packages, or `devbox shell` to start a dev shell.")
50
return nil
0 commit comments