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
ABELoad variables from an argument
> load-env {NAME: ABE, AGE: UNKNOWN}; $env.NAME
ABE