Return the next possible completion for 'text'. If a command has not been entered, then complete against command list. Otherwise try to call complete_ to get list of completions.
(self, text, state)
Source from the content-addressed store, hash-verified