nushell/crates/nu-cli/tests
Ian Manske 72d3860d05
Refactor the CLI code a bit (#12782)
# Description
Refactors the code in `nu-cli`, `main.rs`, `run.rs`, and few others.
Namely, I added `EngineState::generate_nu_constant` function to
eliminate some duplicate code. Otherwise, I changed a bunch of areas to
return errors instead of calling `std::process::exit`.

# User-Facing Changes
Should be none.
2024-05-10 07:29:27 +08:00
..
commands Fix syntax highlighting for not (#12815) 2024-05-10 07:09:44 +08:00
completions Refactor the CLI code a bit (#12782) 2024-05-10 07:29:27 +08:00
main.rs Fix syntax highlighting for not (#12815) 2024-05-10 07:09:44 +08:00