built generic cache command output utility function

for use with expensive, volatile completion commands
use the new cache_command function for adb package listing