pub async fn execute(command: Command, config: Config) -> Result<()>
Execute the command.
Returns an IO error if reading or writing fails.