Add rattail export-hotcooler
command, for initial hotcooler support
..we'll see where this goes..
This commit is contained in:
parent
7f85483b73
commit
5ee411ba23
6 changed files with 205 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# -*- coding: utf-8; -*-
|
||||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2016 Lance Edgar
|
||||
# Copyright © 2010-2017 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -26,10 +26,19 @@ Tempmon commands
|
|||
|
||||
from __future__ import unicode_literals, absolute_import
|
||||
|
||||
from rattail.commands import Subcommand
|
||||
from rattail import commands
|
||||
|
||||
|
||||
class TempmonClient(Subcommand):
|
||||
class ExportHotCooler(commands.ImportSubcommand):
|
||||
"""
|
||||
Export data from Rattail-Tempmon to HotCooler
|
||||
"""
|
||||
name = 'export-hotcooler'
|
||||
description = __doc__.strip()
|
||||
handler_spec = 'rattail_tempmon.hotcooler.importing.tempmon:FromTempmonToHotCooler'
|
||||
|
||||
|
||||
class TempmonClient(commands.Subcommand):
|
||||
"""
|
||||
Manage the tempmon-client daemon
|
||||
"""
|
||||
|
@ -59,7 +68,7 @@ class TempmonClient(Subcommand):
|
|||
daemon.stop()
|
||||
|
||||
|
||||
class TempmonServer(Subcommand):
|
||||
class TempmonServer(commands.Subcommand):
|
||||
"""
|
||||
Manage the tempmon-server daemon
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue