You may add something like this to add auto completion feature.
_bb_autocomplete() { _arguments "1: :(help $(bb autocomplete))" "2: :(help $(bb $words[2] autocomplete))" } compdef _bb_autocomplete bb