run

Function run 

Source
pub async fn run(cmd: Commands) -> Result<()>
Expand description

Command dispatcher that routes to the appropriate command implementation

Takes a parsed command and delegates to the corresponding module’s run function. All commands are async to support network operations and file I/O.

§Arguments

  • cmd - The command to execute

§Returns

Result indicating success or failure of the command execution