Upstream Snapshot bb87928bce Import upstream snapshot 80e710700aac9573a2230f74f7ce9e094833a0bc
Upstream: https://github.com/Rhoban/onshape-to-robot
Upstream-Commit: 80e710700aac9573a2230f74f7ce9e094833a0bc
Upstream-Branch: master
2026-08-28 15:42:31 +08:00

17 lines
350 B
Python

"""Clear the onshape-to-robot cache."""
def main():
import shutil
from .onshape_api.cache import get_cache_path
"""Clear the onshape-to-robot cache."""
cache_dir = get_cache_path()
print("Removing cache directory: {}".format(cache_dir))
shutil.rmtree(cache_dir, ignore_errors=True)
if __name__ == "__main__":
main()