nushell/crates
Reilly Wood 57ce6a7c66
Fix ls behaviour when directory is empty (#8439)
Prior to this PR, `ls` would return `nothing` in an empty directory.
After this PR, it returns an empty `List`. This makes the behaviour of
`ls` more consistent and easier to reason about (IMO).

This was prompted by a user noticing that `ls | where size == 0KB and
type == file` breaks when run in an empty directory:

```
  × Input type not supported.
   ╭─[entry #12:1:1]
 1 │ ls | where size == 0KB and type == file
   · ─┬   ──┬──
   ·  │     ╰── only list, binary, raw data or range input data is supported
   ·  ╰── input type: nothing
   ╰────
```

If people agree with this change, let's wait until after the 0.77
release so we have a bit more time to test it.
2023-03-15 18:31:07 +13:00
..
nu-cli Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-cmd-lang Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-color-config Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-command Fix ls behaviour when directory is empty (#8439) 2023-03-15 18:31:07 +13:00
nu-engine Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-explore Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-glob Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-json Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-parser Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-path Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-plugin Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-pretty-hex Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-protocol Modify reject algorithm for identical elements (#8446) 2023-03-14 23:26:48 +01:00
nu-system Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-table Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-term-grid Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-test-support Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu-utils Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu_plugin_custom_values Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu_plugin_example Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu_plugin_formats Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu_plugin_gstat Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu_plugin_inc Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +01:00
nu_plugin_python update nu_plugin_python due to signature changes (#8107) 2023-02-18 13:27:24 +00:00
nu_plugin_query Bump to 0.77.1 development version (#8453) 2023-03-14 23:26:08 +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.