nushell/crates
Reilly Wood 49ab559992
Trim quotes when shelling out to cmd.exe (#7740)
Closes #6337 and #5366. Prior to this PR, when "shelling out" to cmd.exe
on Windows we were not trimming quotes correctly:

```bash
〉^echo "foo"
\"foo\"
```
After this change, we do:
```bash
〉^echo "foo"
foo
```

### Breaking Change

I ended up removing `dir` from the list of supported cmd.exe internal
commands as part of this PR.

For this PR, I extracted the argument-cleaning-and-expanding code from
`spawn_simple_command()` for reuse in `spawn_cmd_command()`. This means
that we now expand globs, which broke some tests for the `dir` cmd.exe
internal command.

I probably could have kept the tests working, but... tbh, I don't think
it's worth it. I don't want to make the `cmd.exe` functionality any more
complicated than it already is, and calling `dir` from Nu is always
going to be weird+hacky compared to `ls`.
2023-01-13 11:00:30 -08:00
..
nu-cli Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00
nu-color-config Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-command Trim quotes when shelling out to cmd.exe (#7740) 2023-01-13 11:00:30 -08:00
nu-engine Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00
nu-explore Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-glob Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-json Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-parser Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00
nu-path Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-plugin Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-pretty-hex Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-protocol Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00
nu-system Bump once_cell from 1.16.0 to 1.17.0 (#7732) 2023-01-11 23:00:44 +00:00
nu-table Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-term-grid Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-test-support Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu-utils Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu_plugin_custom_values Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu_plugin_example Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu_plugin_gstat Bump git2 from 0.15.0 to 0.16.0 (#7731) 2023-01-11 22:56:02 +00:00
nu_plugin_inc Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
nu_plugin_python Fix typos by codespell (#7600) 2022-12-26 02:31:26 -05:00
nu_plugin_query Bump to 0.74.1 development version (#7721) 2023-01-11 22:30:41 +01:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

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.