@command('<STR_LIT>')<EOL>def search(search_text, config=None):
storm_ = get_storm_instance(config)<EOL>try:<EOL><INDENT>results = storm_.search_host(search_text)<EOL>if len(results) == <NUM_LIT:0>:<EOL><INDENT>print ('<STR_LIT>')<EOL><DEDENT>if len(results) > <NUM_LIT:0>:<EOL><INDENT>message = '<STR_LIT>'.format(search_text)<EOL>message += "<STR_LIT>".join(results)<EOL>print(message)<EOL><DEDENT><DEDENT>except Exception as error:<EOL><INDENT>print(get_formatted_message(str(error), '<STR_LIT:error>'), file=sys.stderr)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>
Searches entries by given search text.