nushell/crates/nu-cmd-lang/src
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
..
core_commands Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
default_context.rs Remove lazy records (#12682) 2024-05-03 08:36:10 +08:00
example_support.rs Replace ExternalStream with new ByteStream type (#12774) 2024-05-16 07:11:18 -07:00
example_test.rs remove def-env and export def-env (#10999) 2023-11-19 23:25:09 +08:00
lib.rs cratification: Example support (#8231) 2023-02-27 13:58:56 -08:00