bin/cubicweb-ctl
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 25 Jul 2014 16:11:46 +0200
changeset 10407 18d1ef2d2a3e
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[js] simplify cw.log implementation There's no need to rebuild and array and join its content, just call console.log with ``arguments``. The only trick is that console.log must be called on a console instance.

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