예제 #1
0
 def __call__(self, args):
     super(WipeCommand, self).__call__(args)
     if args.everything:
         shutil.rmtree(get_persist_dir())
     else:
         for platform in pebble_platforms:
             shutil.rmtree(get_sdk_persist_dir(platform))
예제 #2
0
 def __call__(self, args):
     super(WipeCommand, self).__call__(args)
     if args.everything:
         shutil.rmtree(get_persist_dir())
     else:
         for platform in pebble_platforms:
             shutil.rmtree(get_sdk_persist_dir(platform))
예제 #3
0
 def do_uninstall(cls, args):
     print("Uninstalling SDK {}...".format(args.version))
     sdk_manager.uninstall_sdk(args.version)
     if not args.keep_data:
         for platform in pebble_platforms:
             shutil.rmtree(os.path.join(get_sdk_persist_dir(platform, args.version)))
     print("Done.")
예제 #4
0
파일: manage.py 프로젝트: tulth/pebble-tool
 def do_uninstall(cls, args):
     print("Uninstalling SDK {}...".format(args.version))
     sdk_manager.uninstall_sdk(args.version)
     if not args.keep_data:
         for platform in pebble_platforms:
             shutil.rmtree(
                 os.path.join(get_sdk_persist_dir(platform, args.version)))
     print("Done.")