#!/usr/bin/env python2.7

from dependencywatcher.parser.parser import Parser

import logging, sys
logging.basicConfig(level=logging.DEBUG)

if __name__ == "__main__":
	if len(sys.argv) != 2:
		print "USAGE: %s <directory>" % sys.argv[0]
		sys.exit(2)
	print Parser.parse_dir(sys.argv[1])

