'Entry point for intelligent tab completion.
Based on state of interpreter this method will return intelligent suggestions.
:return: list of most accurate command suggestions'

def suggested_commands(self):

    if (self.current_module and GLOBAL_OPTS):
        return sorted(itertools.chain(self.module_commands, ('unsetg    ',)))
    elif self.current_module:
        return self.module_commands
    else:
        return self.global_commands
