nushell/crates
Dan Davison 649c8319e6
Add input-output types to $nu.scope.commands (#7105)
* Add input and output types to $nu.scope.commands

This commit changes the schema: instead of

command.signature: table

we now have

command.signatures: list<table>

with one signature for every input-output type pair.

* Represent signatures as a map from input_type to signature

* Sort signature entries

* Drop command name from signature tables

* Don't use "rest" as name of rest parameter; use empty string instead

* Bug fix: was creating records with repeated keys

E.g.
$nu.scope.commands | where name == 'hash sha256' | get signatures.0 | table -e
$nu.scope.commands | where name == 'transpose' | get signatures.0 | table -e
2022-11-12 14:26:20 -08:00
..
nu_plugin_custom_values removes unused features. (#6938) 2022-11-12 18:44:56 +13:00
nu_plugin_example bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu_plugin_gstat bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu_plugin_inc bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu_plugin_python Further edits to help messages (#6913) 2022-10-26 09:36:42 -07:00
nu_plugin_query removes unused features. (#6938) 2022-11-12 18:44:56 +13:00
nu-cli removes unused features. (#6938) 2022-11-12 18:44:56 +13:00
nu-color-config bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-command removes unused features. (#6938) 2022-11-12 18:44:56 +13:00
nu-engine Add input-output types to $nu.scope.commands (#7105) 2022-11-12 14:26:20 -08:00
nu-glob bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-json bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-parser removes unused features. (#6938) 2022-11-12 18:44:56 +13:00
nu-path bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-plugin removes unused features. (#6938) 2022-11-12 18:44:56 +13:00
nu-pretty-hex bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-protocol removes unused features. (#6938) 2022-11-12 18:44:56 +13:00
nu-system Turn off foreground processes on macOS (#7068) 2022-11-10 07:39:09 +13:00
nu-table bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-term-grid bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-test-support bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
nu-utils bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +01:00
old bump to dev release 0.71.1 (#7064) 2022-11-09 13:18:34 +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.