Skip to main content

execute_commands

Function execute_commands 

Source
pub async fn execute_commands(
    ctx: &DslContext,
    script: String,
) -> Result<Vec<String>>
Expand description

Parses and executes a series of DSL commands.

Processes the DSL script, executing each command in sequence and collecting output messages.

§Arguments

  • ctx: DSL execution context with manager and selected Shuriken
  • script: The DSL script string to execute

§Returns

  • Ok(output) with a vector of output messages from command execution
  • Err if parsing or execution fails