def ui_complete_delete(self, parameters, text, current_param):
        if current_param == 'name':
            names = [child.name for child in self.children]
            completions = [name for name in names
                           if name.startswith(text)]
        else:
            completions = []

        if len(completions) == 1:
            return [completions[0] + ' ']
        else:
            return completions
Parameter auto-completion method for user command delete.
dataset/ETHPy150Open agrover/targetcli-fb/targetcli/ui_backstore.py/UIBackstore.ui_complete_delete