'If this is a general command, e.g. "cobbler hardlink", return the action, like "hardlink"'

def get_direct_action(self, object_type, args):

    if (object_type is not None):
        return None
    elif (len(args) < 2):
        return None
    elif (args[1] == '--help'):
        return None
    elif (args[1] == '--version'):
        return 'version'
    else:
        return args[1]
