mirror of
https://github.com/nushell/nushell
synced 2024-12-28 05:53:09 +00:00
40741254f6
Hiding definitions now should work correctly with repeated use of 'use', 'def' and 'hide' keywords. The key change is that 'hide foo' will hide all definitions of foo that were defined/used within the scope (those from other scopes are still available). This makes the logic simpler and I found it leads to a simpler mental map: you don't need to remember the order of defined/used commands withing the scope -- it just hides all. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
README.md |
nu-protocol
The nu-protocol crate holds the definitions of structs/traits that are used throughout Nushell. This gives us one way to expose them to many other crates, as well as make these definitions available to each other, without causing mutually recursive dependencies.