hide-env for core

Hide environment variables in the current scope.

Signature

> hide-env ...rest --ignore-errors

Parameters

  • ...rest: environment variable names to hide
  • --ignore-errors (-i): do not throw an error if an environment variable was not found

Examples

Hide an environment variable

> let-env HZ_ENV_ABC = 1; hide-env HZ_ENV_ABC; 'HZ_ENV_ABC' in (env).name
false