#!/usr/bin/env bash
rm -rf .pioenvs
rm -rf .piolibdeps
rm -rf .piolib
if [[ $1 = "--deep" ]]; then
rm -rf ~/.platformio/packages/*
rm -rf ~/.platformio/platforms/*
rm -rf ~/.platformio/.cache/*
fi