def main():
cred_search = CredentialSearch()<EOL>arg = argparse.ArgumentParser(parents=[cred_search.argparser], conflict_handler='<STR_LIT>')<EOL>arg.add_argument('<STR_LIT:-c>', '<STR_LIT>', help="<STR_LIT>", action="<STR_LIT:store_true>")<EOL>arguments = arg.parse_args()<EOL>if arguments.count:<EOL><INDENT>print_line("<STR_LIT>".format(cred_search.argument_count()))<EOL><DEDENT>else:<EOL><INDENT>response = cred_search.get_credentials()<EOL>for hit in response:<EOL><INDENT>print_json(hit.to_dict(include_meta=True))<EOL><DEDENT><DEDENT>
Main credentials tool