Add command-line method to execute a logical plan.