# Path: contrail_api_cli/exceptions.py
# class CommandNotFound(Exception):
#     pass
# 
# Path: contrail_api_cli/utils.py
# class Singleton(type):
# 
#     def __init__(cls, name, bases, dict):
#         super(Singleton, cls).__init__(name, bases, dict)
#         cls.instance = None
# 
#     def __call__(cls, *args, **kw):
#         if cls.instance is None:
#             cls.instance = super(Singleton, cls).__call__(*args, **kw)
#         return cls.instance


from six import add_metaclass
from stevedore import extension
from prompt_toolkit.completion import Completion
from .exceptions import CommandNotFound
from .utils import Singleton
import itertools
import argparse
from __future__ import unicode_literals




@add_metaclass(Singleton)
class CommandManager(object):


# Path: contrail_api_cli/exceptions.py
# class CommandNotFound(Exception):
#     pass
# 
# Path: contrail_api_cli/utils.py
# class Singleton(type):
# 
#     def __init__(cls, name, bases, dict):
#         super(Singleton, cls).__init__(name, bases, dict)
#         cls.instance = None
# 
#     def __call__(cls, *args, **kw):
#         if cls.instance is None:
#             cls.instance = super(Singleton, cls).__call__(*args, **kw)
#         return cls.instance


# Path: contrail_api_cli/manager.py
from six import add_metaclass
from stevedore import extension
from prompt_toolkit.completion import Completion
from .exceptions import CommandNotFound
from .utils import Singleton
import itertools
import argparse

from __future__ import unicode_literals




@add_metaclass(Singleton)
class CommandManager(object):


    def __init__(self, load_default=True):