def complete(self, tokens, **kwargs):
        args = []
        for token in tokens:
            args += [x for x in token.split(' ') if not x.startswith('-')]

        choices = AVAILABLE_MAESTRO_COMMANDS if len(args) <= 2 \
            else self.services.keys() + self.containers.keys()
        prefix = ''

        if len(args) == 2:
            prefix = args[1]
            if prefix in choices:
                args.append('')

        if len(args) > 2:
            prefix = args.pop()

        print(' '.join(filter(lambda x: x.startswith(prefix), set(choices))))
Set the date checked for updated plugins.
dataset/ETHPy150Open signalfx/maestro-ng/maestro/maestro.py/Conductor.complete--crossover with--dataset/ETHPy150Open robmadole/jig/src/jig/plugins/tools.py/set_checked_for_updates