wcs/wcsctl.py

13 lines
208 B
Python
Executable File

#! /usr/bin/env python
import os
import sys
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wcs.settings")
import wcs.qommon.ctl
ctl = wcs.qommon.ctl.Ctl(cmd_prefixes=['wcs.ctl'])
ctl.run(sys.argv[1:])