1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-26 06:08:21 +02:00
nushell/crates/nu-cmd-base
Ian Manske 157494e803
Make get_env_var return a reference to a Value ()
# 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
..
src Make get_env_var return a reference to a Value () 2024-10-02 13:05:48 +02:00
Cargo.toml Bump version to 0.98.1 () 2024-09-22 12:41:44 +08:00
LICENSE [nu-cmd-base] add missing LICENSE text () 2023-10-27 15:55:03 -05:00
README.md Add top-level crate documentation/READMEs () 2024-07-14 10:10:41 +02: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.