riot_wrappers::shell

Function new

Source
pub fn new() -> impl CommandList
Available on riot_module_shell only.
Expand description

Start a blank list of commands

This returns an empty command list that can be run as is (to expose RIOT’s built-in shell commands), or as a starting point for adding more commands using its CommandList::and builder.