bin/cubicweb-ctl
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 23 Nov 2012 16:12:19 +0100
changeset 9031 6ff29f2879da
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
web/application: instantiate the repository outside of CubicWebPublisher This improves decoupling and allows ``CubicWebPublisher`` user to choose which argument are used during ``Repository`` instantiation. In particular is allows caller to provide a ``TaskManager``. The `vreg` argument of publisher is made mandatory. See CubicWebPublisher docstring for details. Related to #2249513

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])