Add installation script for CLAUDE.md

This commit is contained in:
2026-08-24 10:48:33 +02:00
parent 937725636a
commit a40f08f27e
2 changed files with 29 additions and 1 deletions
Executable
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Installation script for the CLAUDE.md file.
"""
import os
import sys
import shutil
import pathlib
# Find claude directory
if sys.platform == "win32":
claude_dir = pathlib.Path(os.environ["USERPROFILE"]) / ".claude"
else:
claude_dir = pathlib.Path(os.environ["HOME"]) / ".claude"
print(f"Installing CLAUDE.md to {claude_dir}/CLAUDE.md")
os.makedirs(claude_dir, exist_ok=True)
shutil.copy("CLAUDE.md", claude_dir / "CLAUDE.md")