import sys
import logging
from uitester import cmd_client
from uitester import ui_client

logger = logging.getLogger('UiTester')
logger.setLevel(logging.DEBUG)


def start():
    if len(sys.argv) > 1:
        if sys.argv[1] == 'cmd':
            logger.debug('Start with cmd mode')
            cmd_client.start()
            return
    logger.debug('Start with ui mode')
    ui_client.start()


if __name__ == '__main__':
    start()


@@ -23,40 +23,8 @@
 ing%0A
-from uitester import cmd_client%0A
 from
@@ -211,73 +211,31 @@
     
-logger.debug('Start with cmd mode')%0A            cmd_client.start(
+print('Unsupported cmd'
 )%0A  

cmd mode