Looks up all climethod instances from the inputted scope.
    
    :return     [<climethod>, ..]

def commands(scope):
    """
    Looks up all climethod instances from the inputted scope.
    
    :return     [<climethod>, ..]
    """
    if inspect.ismodule(scope):
        scope = vars(scope)

    return [cmd for cmd in scope.values() if isinstance(cmd, climethod)]