21#include <shell/shell.h>
40 SHELL_SUBCMD_SET_END);
uint8_t status
Definition: mctp_ctrl.h:1
device_id
Definition: power_shell.h:28
@ DEVICE_BMC
Definition: power_shell.h:30
@ MAX_DEVICE_COUNT
Definition: power_shell.h:31
@ DEVICE_HOST
Definition: power_shell.h:29
SHELL_STATIC_SUBCMD_SET_CREATE(sub_power_cmds, SHELL_CMD(status, NULL, "List power status", cmd_power_status), SHELL_CMD(control, NULL, "Power control", cmd_power_control), SHELL_SUBCMD_SET_END)
void cmd_power_status(const struct shell *shell, size_t argc, char **argv)
Definition: power_shell.c:51
void cmd_power_control(const struct shell *shell, size_t argc, char **argv)
Definition: power_shell.c:86
Definition: power_shell.h:23
char * name
Definition: power_shell.h:25
uint8_t enable
Definition: power_shell.h:24