예제 #1
0
파일: run.py 프로젝트: TheBloodbank/vamp
def run():
    if not check_git():
        print("Error! Git executable not found!")
        print("Please ensure you have git installed!")
        sys.exit(1)

    m = Manifest()
    if args.command in commands:
        commands[args.command]['method']()
    else:
        print("Valid command required!")
        parser.print_usage()
        sys.exit(1)
    m.save()