code: def cmd_distclean(self, *args):
          '''Clean the whole Buildozer environment.
          '''
          print("Warning: Your ndk, sdk and all other cached packages will be"
                " removed. Continue? (y/n)")
          if sys.stdin.readline().lower()[0] == 'y':
              self.info('Clean the global build directory')
              if not exists(self.global_buildozer_dir):
                  return
              rmtree(self.global_buildozer_dirf cmd_distclean(self, *args):
          '''Clean the whole Buildozer environment.
          '''
          print("Warning: Your ndk, sdk and all other cached packages will be"
                " removed. Continue? (y/n)")
          if sys.stdin.readline().lower()[0] == 'y':
              self.info('Clean the global build directory')
              if not exists(self.global_buildozer_dir):
                  return
              rmtree(self.global_buildozer_dir)
docs: Clean the whole Buildozer environment.