nushell/crates/nu-cli/src
Yash Thakur 6ff3a4180b
Specify which file not found in error (#11868)
# Description
Currently, `ShellError::FileNotFound` shows the span where the error
occurred but doesn't say which file wasn't found. This PR makes it so
the help includes that (like the `DirectoryNotFound` error).

# User-Facing Changes
No breaking changes, it's just that when a file can't be found, the help
will say which file couldn't be found:


![image](https://github.com/nushell/nushell/assets/45539777/e52f1e65-55c1-4cd2-8108-a4ccc334a66f)
2024-02-21 21:27:13 +08:00
..
commands Specify which file not found in error (#11868) 2024-02-21 21:27:13 +08:00
completions Add Value::coerce_str (#11885) 2024-02-18 17:47:10 +01:00
menus Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
config_files.rs Fix config creation during printing (#9353) 2023-06-04 22:04:28 +03:00
eval_cmds.rs Add Value::coerce_str (#11885) 2024-02-18 17:47:10 +01:00
eval_file.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
lib.rs Bump Reedline for the Menu Refactor (#11658) 2024-01-28 08:26:03 -08:00
nu_highlight.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
print.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
prompt.rs fix shell integration markers (#11352) 2023-12-16 20:12:34 -06:00
prompt_update.rs Only run $env.PROMPT_COMMAND once per prompt (copy of #10986) (#11366) 2023-12-18 09:33:04 -06:00
reedline_config.rs Add Value::coerce_str (#11885) 2024-02-18 17:47:10 +01:00
repl.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
syntax_highlight.rs Support redirect stderr and stdout+stderr with a pipe (#11708) 2024-02-09 01:30:46 +08:00
util.rs Deprecate --flag: bool in custom command (#11365) 2023-12-21 10:07:08 +01:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00