timid/extensions.py
def prepare(cls, parser):
        """
        Prepare all the extensions.  Extensions are prepared during
        argument parser preparation.  An extension implementing the
        ``prepare()`` method is able to add command line arguments
        specific for that extension.

        :param parser: The argument parser, an instance of
                       ``argparse.ArgumentParser``.
        """

        debugger = ExtensionDebugger('prepare')

        for ext in cls._get_extension_classes():
            with debugger(ext):
                ext.prepare(parser)
def prepare(cls, parser):
        """
        Prepare all the extensions.  Extensions are prepared during
        argument parser preparation.  An extension implementing the
        ``prepare()`` method is able to add command line arguments
        specific for that extension.

        :param parser: The argument parser, an instance of
                       ``argparse.ArgumentParser``.
        """

        debugger = ExtensionDebugger('prepare')

        for ext in cls._get_extension_classes():
            with debugger(ext):
                ext.prepare(parser)
Prepare all the extensions.  Extensions are prepared during
        argument parser preparation.  An extension implementing the
        ``prepare()`` method is able to add command line arguments
        specific for that extension.

        :param parser: The argument parser, an instance of
                       ``argparse.ArgumentParser``.