OpenSlides/server/make/__main__.py

14 lines
263 B
Python
Raw Normal View History

import sys
import commands # noqa
from parser import parser
if len(sys.argv) < 2:
2019-01-06 16:22:33 +01:00
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))