INNER CODE UNIT · Python
main
idnahacks/GoodHound · goodhound/__init__.py:32
def main():
args = arguments()
if args.quiet:
logging.basicConfig(level=logging.CRITICAL)
elif args.debug:
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG)
elif args.verbose:
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
ghutils.checkoutdir(args.output_dir)
if not args.quiet:
ghutils.banner()
graph = neodb.db_connect(args)
starttime = datetime.now()
neodb.warmupdb(graph, args)
if args.schema:
neodb.schema(graph, args)
neodb.cost(graph)
if args.patch41: