nushell/crates/nu-plugin/src/protocol
Devyn Cairns 78be67f0c6
Support for getting help text from a plugin command (#12243)
# Description
There wasn't really a good way to implement a command group style (e.g.
`from`, `query`, etc.) command in the past that just returns the help
text even if `--help` is not passed. This adds a new engine call that
just does that.

This is actually something I ran into before when developing the dbus
plugin, so it's nice to fix it.

# User-Facing Changes


# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting
- [ ] Document `GetHelp` engine call in proto
2024-03-24 07:30:38 +08:00
..
plugin_custom_value Make custom value type handling more consistent (#12230) 2024-03-19 11:09:59 +01:00
evaluated_call.rs Misc doc fixes (#12266) 2024-03-23 07:26:08 -05:00
mod.rs Support for getting help text from a plugin command (#12243) 2024-03-24 07:30:38 +08:00
plugin_custom_value.rs Add test support crate for plugin developers (#12259) 2024-03-23 13:29:54 -05:00
protocol_info.rs Bidirectional communication and streams for plugins (#11911) 2024-02-25 16:32:50 -06:00
test_util.rs Make custom value type handling more consistent (#12230) 2024-03-19 11:09:59 +01:00
tests.rs Bidirectional communication and streams for plugins (#11911) 2024-02-25 16:32:50 -06:00