execute

Function execute 

Source
pub fn execute(args: &RunArgs) -> Result<(), String>
Expand description

Execute the run command

This command launches the application in development/interpreted mode by invoking cargo run with the interpreted feature flag.

§Mode Behavior

  • Interpreted Mode (default): Runtime XML parsing with hot-reload support
  • Fast compilation and iteration
  • Preserves application state during UI changes
  • Ideal for development and prototyping

§Examples

# Basic run in interpreted mode
dampen run

# Run specific package in workspace
dampen run -p my-app

# Pass arguments to the application
dampen run -- --window-size 800x600

# Enable additional features
dampen run --features tokio,logging