hide-env
for core
Hide environment variables in the current scope.
Signature
> hide-env {flags} ...rest
Flags
-
--ignore-errors, -i
: do not throw an error if an environment variable was not found
Parameters
-
...rest
: environment variable names to hide
Input/output types:
input | output |
---|---|
nothing | nothing |
Examples
Hide an environment variable
> $env.HZ_ENV_ABC = 1; hide-env HZ_ENV_ABC; 'HZ_ENV_ABC' in (env).name
false