Change event api to take options.
Add event command global options.