nushell/crates/nu-cmd-extra/src/extra
Ian Manske baeba19b22
Make get_full_help take &dyn Command (#12903)
# Description
Changes `get_full_help` to take a `&dyn Command` instead of multiple
arguments (`&Signature`, `&Examples` `is_parser_keyword`). All of these
arguments can be gathered from a `Command`, so there is no need to pass
the pieces to `get_full_help`.

This PR also fixes an issue where the search terms are not shown if
`--help` is used on a command.
2024-05-19 19:56:33 +02:00
..
bits Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
conversions Shrink the size of Expr (#12610) 2024-04-24 15:46:35 +00:00
filters Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
formats Shrink the size of Expr (#12610) 2024-04-24 15:46:35 +00:00
math Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
platform Shrink the size of Expr (#12610) 2024-04-24 15:46:35 +00:00
strings Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
mod.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00