<gh_stars>0
#!/usr/bin/python
import sys
from generateGUID import generate_GUID


if len(sys.argv) > 1:

    if len(sys.argv) == 5:
        key = sys.argv[1]+sys.argv[2]+sys.argv[3]+sys.argv[4]
        print(generate_GUID(key))

    if len(sys.argv) == 2:
        key = sys.argv[1]
        print(generate_GUID(key))

    else:
        print("mauvais nombre d'arguments")
