mirror of
https://github.com/nushell/nushell
synced 2025-01-13 21:55:07 +00:00
07c9f681c7
# Description This PR fixes an issue described in #8890 where config variables declared in command parameters cause the warning `use `let-env config = ...` instead of `let config = ...` to be printed. # User-Facing Changes The user is only warned when they define a config variable with a warning with the type `record`. # Tests + Formatting I think this can only be tested manually by first trying to reproduce #8890. To test if the warning is still printed when it's supposed to be one can add `let config = $env.config` to the end of the `config.nu` file. |
||
---|---|---|
.. | ||
tests | ||
command.rs | ||
config_files.rs | ||
ide.rs | ||
logger.rs | ||
main.rs | ||
README.md | ||
run.rs | ||
signals.rs | ||
terminal.rs | ||
test_bins.rs | ||
tests.rs |
Nushell REPL
This directory contains the main Nushell REPL (read eval print loop) as part of the CLI portion of Nushell, which creates the nu
binary itself.
Current versions of the nu
binary will use the Nu argument parsing logic to parse the commandline arguments passed to nu
, leaving the logic here to be a thin layer around what the core libraries.