load-env
for filesystem> load-env {flags} (update)
update
: the record to use for updatesinput | output |
---|---|
nothing | nothing |
record | nothing |
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–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/load-env.html