mirror of
https://github.com/nushell/nushell.git
synced 2025-05-21 10:20:46 +02:00
# 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>`  |
||
---|---|---|
.. | ||
call_info.rs | ||
capture_block.rs | ||
command.rs | ||
engine_state.rs | ||
mod.rs | ||
overlay.rs | ||
pattern_match.rs | ||
stack.rs |