nushell/crates/nu-cmd-extra/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
..
extra Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
example_test.rs move math constants to standard library (#9678) 2023-09-05 19:32:31 +02:00
lib.rs nu-cmd-extra crate infrastructure in place with the Bits command as the model for adding other commands (#9327) 2023-06-01 10:46:16 -07:00