OpenSlides/make/__main__.py
2019-01-08 21:51:52 +01:00

14 lines
263 B
Python

import sys
import commands # noqa
from parser import parser
if len(sys.argv) < 2:
args = parser.parse_args(["--help"])
else:
args = parser.parse_args()
# Runs the command end exits the script with the return-code of the command
exit(args.func(args))