class CleanAllCacheCommand(AbstractCommand): def __init__(self, cache_dir): AbstractCommand.__init__(self, 'clean_all_cache_command') from android_tools import CleanAllCacheTask self._invoker = CleanAllCacheTask(cache_dir) def execute(self): self.debug('start clean cache...') self._invoker.execute() self.debug('clean all cache done.')