def get_command(name):
    """
    Gets an instance of the named jig sub-command.

    For example::

        >>> get_command('init')
        <jig.commands.init.Command object at 0x10048fed0>
    """
    mod = __import__('jig.commands.{0}'.format(name.lower()), globals(),
        locals(), ['Command'], 0)
    return mod.Command
