Skip to content

Commit a2fa226

Browse files
committed
feat(init): print success message and next steps after devbox init
1 parent e16687f commit a2fa226

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internal/boxcli/init.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ func initCmd() *cobra.Command {
4242
if err != nil {
4343
return err
4444
}
45+
if flags.dryRun {
46+
return nil
47+
}
4548
fmt.Fprintf(cmd.OutOrStdout(), "Created devbox.json in %s\n", path)
4649
fmt.Fprintln(cmd.OutOrStdout(), "Run `devbox add <package>` to add packages, or `devbox shell` to start a dev shell.")
4750
return nil

0 commit comments

Comments
 (0)