search from cli