def METHOD_NAME(self, cmd, document, complete_event):
    exploded = document.text.lstrip().split(" ", 1)
    self._build_cmd_verb_list()
    if len(exploded) <= 1:
        if not document.text:
            return [Completion(x)
                    for x in self._sqcmds]
        completions = [Completion(text=x,
                                  start_position=-len(document.text))
                       for x in self._sqcmds
                       if x.startswith(document.text)]
        return completions
    service = exploded[0].lower()
    verb = exploded[1]
    verbs = [x[0].replace('aver', 'assert')
             for x in self._allcmds[service].metadata.subcommands
             if service in self._sqcmds]
    if not verb:
        return [Completion(x) for x in verbs]
    completions = [Completion(text=x, start_position=-len(verb))
                   for x in sorted(verbs)
                   if x.startswith(verb)]
    return completions