add search sub command, fixed #18