use anyhow::Result;
use std::fs;
use std::path::Path;
pub fn create_claude_data_structure(claude_data_dir: &Path) -> Result<()> {
fs::create_dir_all(claude_data_dir)?;
let subdirs = [
"plans",
"projects",
"file-history",
"todos",
"plugins",
"plugins/cache",
"plugins/marketplaces",
"ide",
"downloads",
"debug",
"shell-snapshots",
"statsig",
];
for subdir in subdirs {
fs::create_dir_all(claude_data_dir.join(subdir))?;
}
Ok(())
}