Spec-Zone.ru › Nushell

load-env for filesystem

Loads an environment update from a record.

Signature

> load-env {flags} (update)

Parameters

  • update: The record to use for updates.

Input/output types:

input output
record nothing
nothing nothing
any nothing

Examples

Load variables from an input stream.

> {NAME: ABE, AGE: UNKNOWN} | load-env; $env.NAME
ABE

Load variables from an argument.

> load-env {NAME: ABE, AGE: UNKNOWN}; $env.NAME
ABE

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

Spec-Zone.ru

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