# -*- coding: utf-8 -*-
# !/usr/bin/env python
#
# Copyright (c) 2016      Intel Corporation.  All rights reserved.
#
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
"""
Main Module to call Control CLI.
"""


from cli.control_cli import CtrlCliExecutor

if __name__ == '__main__':
    CtrlCliExecutor.execute_cli_cmd()

@@ -219,17 +219,311 @@
 I.%0A%22%22%22%0A%0A
-%0A
+if __name__ == '__main__':%0A    # If we are running this as a cli file, then edit the path to%0A    # contain the directory the file is in.%0A    if __package__ is None:%0A        import sys%0A        from os import path%0A%0A        sys.path.append(path.dirname(path.dirname(path.realpath(__file__))))%0A%0A    
 from cli
@@ -563,35 +563,8 @@
 or%0A%0A
-if __name__ == '__main__':%0A
     

fix import schemes by add the package to the path.