'Tab-complete \'creds\' commands.'

def complete_creds(self, text, line, begidx, endidx):

    commands = ['add', 'remove']
    mline = line.partition('    ')[2]
    offs = (len(mline) - len(text))
    return [s[offs:] for s in commands if s.startswith(mline)]
