Skip to content

Commit 53bfde9

Browse files
authored
[cleanup] remove --use-cached-print-dev-env from shellenv (#1153)
## Summary This flag used to be used by bin-wrappers, but has been removed as of 0.4.8 cc @mikeland86 ## How was it tested? compiles
1 parent 0728b41 commit 53bfde9

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

internal/boxcli/shellenv.go

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ import (
1212
)
1313

1414
type shellEnvCmdFlags struct {
15-
config configFlags
16-
runInitHook bool
17-
install bool
18-
useCachedPrintDevEnv bool
19-
pure bool
15+
config configFlags
16+
runInitHook bool
17+
install bool
18+
pure bool
2019
}
2120

2221
func shellEnvCmd() *cobra.Command {
@@ -45,15 +44,6 @@ func shellEnvCmd() *cobra.Command {
4544
command.Flags().BoolVar(
4645
&flags.pure, "pure", false, "If this flag is specified, devbox creates an isolated environment inheriting almost no variables from the current environment. A few variables, in particular HOME, USER and DISPLAY, are retained.")
4746

48-
// This is no longer used. Remove after 0.4.8 is released.
49-
command.Flags().BoolVar(
50-
&flags.useCachedPrintDevEnv,
51-
"use-cached-print-dev-env",
52-
false,
53-
"[internal - not meant for general usage] Use the cached nix print-dev-env environment instead of the current environment",
54-
)
55-
// This is used by bin wrappers and not meant for end users.
56-
command.Flag("use-cached-print-dev-env").Hidden = true
5747
flags.config.register(command)
5848

5949
command.AddCommand(shellEnvOnlyPathWithoutWrappersCmd())

0 commit comments

Comments
 (0)