···33backup-dotfiles:
44 ./backup_dotfiles.sh
55 echo "backup done.."
66+ python _utils/remove_data.py
677889help: ## Show all Makefile targets
+16
_utils/remove_data.py
···11+import json5
22+33+# import json
44+55+# Load the copied settings file
66+with open("vscode/settings.json", "r") as f:
77+ data = json5.load(f)
88+99+# Remove the unwanted dictionaries
1010+if "codegpt.apiKey" in data:
1111+ del data["codegpt.apiKey"]
1212+1313+# Save the modified data back to the copied file
1414+with open("vscode/settings.json", "w") as f:
1515+ f.write(json5.dumps(data, indent=4))
1616+ # json.dump(data, f, indent=4) #this will print without leading commas