riot_shell_commands

Function all

Source
pub fn all() -> impl CommandList
Available on crate feature shell only.
Expand description

A command list including all the commands defined in this crate

This is available unless the default shell feature is disabled, which makes sense when using individual commands outside a shell environment (as they render to a generic Writer).

If the static feature is enabled, the commands that are exposes as static commands (currently, all) are not exposed here, and the function degenerates into riot_wrappers::shell::new().