Skip to content

Struct WshShellCmd

ClassList > WshShellCmd

Descriptor for a shell command.

  • #include <wsh_shell_cmd.h>

Public Attributes

Type Name
const WshShell_Char_t * Descr
WshShell_Size_t Groups
WshShellCmdHandler_t Handler
const WshShell_Char_t * Name
WshShell_Size_t OptNum
const WshShellOption_t * Options

Public Attributes Documentation

variable Descr

const WshShell_Char_t* WshShellCmd::Descr;

Human-readable description of the command.


variable Groups

WshShell_Size_t WshShellCmd::Groups;

Command group bitmask for access control or categorization.


variable Handler

WshShellCmdHandler_t WshShellCmd::Handler;

Execution callback function.


variable Name

const WshShell_Char_t* WshShellCmd::Name;

Command name (e.g., "set", "info").


variable OptNum

WshShell_Size_t WshShellCmd::OptNum;

Number of defined options.


variable Options

const WshShellOption_t* WshShellCmd::Options;

Pointer to the command's options array.



The documentation for this class was generated from the following file src/wsh_shell_cmd.h