Pass context to command run handler