Skip to content

Commit c43e963

Browse files
authored
[docs] Added pure flag docs (#1411)
## Summary Updated docs to add `--pure` to it. It slipped my mind to update it when we added the feature. I was reminded by [this comment](#1029 (comment)) ## How was it tested? N/A
1 parent e4b5419 commit c43e963

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docs/app/docs/cli_reference/devbox_global_shellenv.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Print shell commands that add global Devbox packages to your PATH
1919
<!-- Markdown Table of Options -->
2020
| Option | Description |
2121
| --- | --- |
22+
| `--pure` | 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. |
2223
| `-h, --help` | help for shellenv |
2324
| `-q, --quiet` | suppresses logs |
2425

docs/app/docs/cli_reference/devbox_shell.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ devbox shell [<dir>] [flags]
1818
| `-e, --env stringToString` | environment variables to set in the devbox environment (default []) |
1919
| `--env-file string` | path to a file containing environment variables to set in the devbox environment |
2020
| `--print-env` | Print a script to setup a devbox shell environment |
21+
| `--pure` | If this flag is specified, devbox creates an isolated shell inheriting almost no variables from the current environment. A few variables, in particular HOME, USER and DISPLAY, are retained. |
2122
| `-h, --help` | help for shell |
2223
| `-q, --quiet` | Quiet mode: Suppresses logs. |
2324

docs/app/docs/cli_reference/devbox_shellenv.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ devbox shellenv [flags]
1414
| `-c, --config string` | path to directory containing a devbox.json config file |
1515
| `-e, --env stringToString` | environment variables to set in the devbox environment (default []) |
1616
| `--env-file string` | path to a file containing environment variables to set in the devbox environment |
17+
| `--pure` | 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. |
1718
| `-h, --help` | help for shellenv |
1819
| `-q, --quiet` | suppresses logs |
1920

0 commit comments

Comments
 (0)