nushell/crates
Stefan Holderbach 881c3495c1
Exclude deprecated commands from completions (#9612)
# Description
We previously simply searched all commands in the working set. As our
deprecated/removed subcommands are documented by stub commands that
don't do anything apart from providing a message, they were still
included.
With this change we check the `Signature.category` to not be
`Category::Deprecated`.

## Note on performance
Making this change will exercise `Command.signature()` more
frequently! As the rust-implemented commands include their builders here
this probably will cause a number of extra allocations. There is
actually no valid reason why the commands should construct a new
`Signature` for each call to `Command.signature()`.
This will introduce some overhead to generate the completions for
commands.
# User-Facing Changes
Example: `str <TAB>`


![grafik](https://github.com/nushell/nushell/assets/15833959/4d5ec5fe-aa93-45af-aa60-3854a20fcb04)
2023-07-05 23:13:16 +02:00
..
nu_plugin_custom_values Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu_plugin_example Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu_plugin_formats Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu_plugin_gstat Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu_plugin_inc Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02: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.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-cli Exclude deprecated commands from completions (#9612) 2023-07-05 23:13:16 +02:00
nu-cmd-base Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-cmd-dataframe Improve type hovers (#9515) 2023-06-29 05:19:48 +12:00
nu-cmd-extra convert a string to a raw binary string of 0s and 1s (#9534) 2023-06-28 13:04:07 -05:00
nu-cmd-lang Let with pipeline (#9589) 2023-07-03 17:45:10 +12:00
nu-color-config remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
nu-command dependency: use notify-debouncer-full(based on notify v6) instead of notify v4 (#9606) 2023-07-05 14:14:55 +02:00
nu-engine remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
nu-explore Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-glob Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-json Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-parser Remove unnecessary parentheses (#9605) 2023-07-04 11:12:46 +02:00
nu-path Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-plugin Improve type hovers (#9515) 2023-06-29 05:19:48 +12:00
nu-pretty-hex Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-protocol Exclude deprecated commands from completions (#9612) 2023-07-05 23:13:16 +02:00
nu-std Add pwd command to stdlib (#9607) 2023-07-04 19:25:01 +02:00
nu-system Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-table Fix #9548 (#9552) 2023-06-28 17:52:04 -05:00
nu-term-grid Bump to 0.82.1 dev version (#9543) 2023-06-27 21:33:53 +02:00
nu-test-support Document fn pipeline() used with nu! tests (#9609) 2023-07-05 13:19:54 +02:00
nu-utils Move to using a safer shell integration default setting (#9600) 2023-07-04 06:26:49 +12: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.