goa/goactl.py
branchstable
changeset 6145 528be1e059aa
parent 5424 8ecbcbff9777
equal deleted inserted replaced
6144:40af8e328e64 6145:528be1e059aa
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    14 # details.
    14 # details.
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """cubicweb on appengine plugins for cubicweb-ctl
    18 """cubicweb on appengine plugins for cubicweb-ctl"""
    19 
    19 
    20 """
       
    21 __docformat__ = "restructuredtext en"
    20 __docformat__ = "restructuredtext en"
    22 
    21 
    23 from os.path import exists, join, split, basename, normpath, abspath
    22 from os.path import exists, join, split, basename, normpath, abspath
    24 from logilab.common.clcommands import register_commands
       
    25 
    23 
    26 from cubicweb import CW_SOFTWARE_ROOT, BadCommandUsage
    24 from cubicweb import CW_SOFTWARE_ROOT, BadCommandUsage
       
    25 from cubicweb.cwctl import CWCTL
    27 from cubicweb.toolsutils import (Command, copy_skeleton, create_symlink,
    26 from cubicweb.toolsutils import (Command, copy_skeleton, create_symlink,
    28                                  create_dir)
    27                                  create_dir)
    29 from cubicweb.cwconfig import CubicWebConfiguration
    28 from cubicweb.cwconfig import CubicWebConfiguration
    30 
    29 
    31 
    30 
   248             mih.rewrite_configuration()
   247             mih.rewrite_configuration()
   249         else:
   248         else:
   250             config.save()
   249             config.save()
   251 
   250 
   252 
   251 
   253 register_commands((NewGoogleAppCommand,
   252 CWCTL.register(NewGoogleAppCommand)
   254                    ))