Ian Manske 157494e803
Make get_env_var return a reference to a Value (#13987)
# Description
Title says it all, changes `EngineState::get_env_var` to return a
`Option<&'a Value>` instead of an owned `Option<Value>`. This avoids
some unnecessary clones.

I also made a similar change to the `PluginExecutionContext` trait.
2024-10-02 13:05:48 +02:00
..
2024-09-22 12:41:44 +08:00

Utilities used by the different nu-command/nu-cmd-* crates, should not contain any full Command implementations.

Internal Nushell crate

This crate implements components of Nushell and is not designed to support plugin authors or other users directly.