def METHOD_NAME(cmd, name, type_):
    """Mark command as one retrived from CKAN extension.
    This information is used when CLI help text is generated.
    """
    setattr(cmd, META_ATTR, {u'name': name, u'type': type_})
    return cmd