mirror of
https://github.com/nushell/nushell.git
synced 2025-03-13 15:08:43 +01:00
# Description `overlay use` now imports constants exported from modules, just like `use`. ```nushell # foo.nu export const a = 1 export const b = 2 ``` - `overlay use foo.nu` being equivalent to `use foo.nu *` and exposing constants `$a = 1` and `$b = 2` - `overlay use foo.nu -p` being equivalent to `use foo.nu` and exposing the constant `$foo = {a: 1, b: 2}` # User-Facing Changes `overlay use` now imports constants just like `use`. # Tests + Formatting - 🟢 toolkit fmt - 🟢 toolkit clippy - 🟢 toolkit test - 🟢 toolkit test stdlib # After Submitting N/A |
||
---|---|---|
.. | ||
mod.rs |