Change search api to accept options.
Change search command to accept global options.
Add search feature to ci run.