mirror of
https://github.com/nushell/nushell.git
synced 2024-11-08 01:24:38 +01:00
e89866bedb
Related to #8119. Should address the review comment by @sholderbach from #8119. # Description this PR adds the output to the new example for the `with-env` command introduced by #8119. ```bash with-env {X: "Y", W: "Z"} { [$env.X $env.W] } ``` should output ```bash ["Y", "Z"] ``` hence the proposition from @sholderbach, i.e. ```rust Some(Value::list( vec![Value::test_string("Y"), Value::test_string("Z")], Span::test_data(), )) ``` # User-Facing Changes _none_ # Tests + Formatting not really a test, only the output value for the last `with-env` example - ✔️ `cargo fmt --all` - ✔️ `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect` - ✔️ `cargo test --workspace` # After Submitting _none_ |
||
---|---|---|
.. | ||
nu_plugin_custom_values | ||
nu_plugin_example | ||
nu_plugin_formats | ||
nu_plugin_gstat | ||
nu_plugin_inc | ||
nu_plugin_python | ||
nu_plugin_query | ||
nu-cli | ||
nu-color-config | ||
nu-command | ||
nu-engine | ||
nu-explore | ||
nu-glob | ||
nu-json | ||
nu-parser | ||
nu-path | ||
nu-plugin | ||
nu-pretty-hex | ||
nu-protocol | ||
nu-system | ||
nu-table | ||
nu-term-grid | ||
nu-test-support | ||
nu-utils | ||
README.md |
Nushell core libraries and plugins
These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.
Foundational libraries are split into two kinds of crates:
- Core crates - those crates that work together to build the Nushell language engine
- Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.
Plugins are likewise also split into two types:
- Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
- Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.