bin/cubicweb-ctl
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 09 Jul 2014 16:32:14 +0200
changeset 10568 3914388b2d0f
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[repoapi, cwconfig] give a convenience method to get a repository from a config This is a very common need. The private repoapi._get_inmemory_repo becomes config.repository(...)

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