Add completion for `search` subcommand.