Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boxcli: don't print help w/ shell non-zero exit code (#38)
Don't print an error message or the usage help when `devbox shell` exits with a non-zero code. We still want to propagate the shell's exit code in order to support scripts. Before: $ devbox shell Installing nix packages. This may take a while... Starting a devbox shell... $ exit 1 Usage: devbox shell [<dir>] [flags] Flags: -h, --help help for shell After: $ devbox shell Installing nix packages. This may take a while... Starting a devbox shell... $ exit 1 $ echo $? 1
- Loading branch information