Skip to main content

execute_cli_action

Function execute_cli_action 

Source
pub(super) fn execute_cli_action(
    is_kernel: bool,
    cli_action: &CliAction,
) -> (LogLevel, String)
Expand description

Executes a structured [CliAction], returning a tuple containing the resulting [LogLevel] and a message string.

ยงArguments

  • is_kernel - Flag indicating whether the action is executed from the kernel console
  • cli_action - Reference to the [CliAction] to execute