Loading...
Searching...
No Matches
shell_command_t Struct Reference

A single command in the list of the supported commands. More...

Detailed Description

A single command in the list of the supported commands.

The list of commands is NULL terminated, i.e. the last element must be { NULL, NULL, NULL }.

Definition at line 183 of file shell.h.

#include <shell.h>

Data Fields

const char * name
 Name of the function.
 
const char * desc
 Description to print in the "help" command.
 
shell_command_handler_t handler
 The callback function.
 

Field Documentation

◆ desc

const char* shell_command_t::desc

Description to print in the "help" command.

Definition at line 185 of file shell.h.

◆ handler

shell_command_handler_t shell_command_t::handler

The callback function.

Definition at line 186 of file shell.h.

◆ name

const char* shell_command_t::name

Name of the function.

Definition at line 184 of file shell.h.


The documentation for this struct was generated from the following file: