nushell/crates
Kyle Anderson 1572808adb
Filter out empty glob patterns to "glob" command (#6707)
* Filter out empty glob patterns

An empty argument to the "glob" command will now produce an empty result.
Working towards nushell/nushell#6653.

* Run `cargo fmt --all`

Just autoformatted the repo so that CI passes and we have a consistent code
format across modules.

* Treat empty glob argument as error

The glob command will now report an empty string argument as an error instead
of silently ignoring it.

See https://github.com/nushell/nushell/pull/6707#discussion_r993345013.

* Add tests for glob command

Two small tests for the glob command, one to check that the empty string errors
it, and another to sanity check the '*' glob, have been added.

* Rename glob sanity check star test

Co-authored-by: Kyle Anderson <kyle.anderson@uwaterloo.ca>
2022-10-15 18:00:38 +02:00
..
nu-cli Allow auto-cd to work with backticks (#6728) 2022-10-15 10:37:31 +13:00
nu-color-config bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu-command Filter out empty glob patterns to "glob" command (#6707) 2022-10-15 18:00:38 +02:00
nu-engine avoid freeze when capturing external stderr (#6700) 2022-10-12 08:41:20 -05:00
nu-glob bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu-json bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu-parser let alias list aliases (#6717) 2022-10-14 21:51:44 +02:00
nu-path bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu-plugin bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu-pretty-hex bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu-protocol avoid freeze when capturing external stderr (#6700) 2022-10-12 08:41:20 -05:00
nu-system Foreground process group management, again (#6584) 2022-09-29 13:37:48 -05:00
nu-table WIP/ Checkout to new tabled (#6286) 2022-10-03 11:40:16 -05:00
nu-term-grid bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu-test-support upgrade num-format (#6694) 2022-10-10 06:25:57 -05:00
nu-utils Fix ex. completion git push --force-with-lease (#6702) 2022-10-11 12:41:50 +02:00
nu_plugin_custom_values bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu_plugin_example bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu_plugin_gstat bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu_plugin_inc bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
nu_plugin_python update and fix python plugin example (#6633) 2022-09-28 17:06:43 -05:00
nu_plugin_query bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05:00
old bump to dev version 0.69.2 (#6635) 2022-09-28 17:06:21 -05: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.