Spec-Zone.ru › Nushell

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
false

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/hide-env.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API