#!/usr/bin/env bash

rm -rf .pioenvs
rm -rf .piolibdeps
rm -rf .piolib
rm -rf .pio

if [[ $1 = "--deep" ]]; then
  rm -rf ~/.platformio/packages/*
  rm -rf ~/.platformio/platforms/*
  rm -rf ~/.platformio/.cache/*
fi
