<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __complete_cmds(self, text):
 """Get the list of commands whose names start with a given text."""

        return [ name for name in self._cmd_map_visible.keys() if name.startswith(text) ]