pmx 0.1.0

A CLI tool for managing AI agent profiles across different platforms (Claude, Codex)
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub fn home_dir() -> anyhow::Result<std::path::PathBuf> {
    #[cfg(windows)]
    {
        anyhow::bail!(
            "Home directory retrieval is not supported on Windows. Please set the environment variable manually."
        );
    }

    #[allow(deprecated)]
    std::env::home_dir().ok_or_else(|| anyhow::anyhow!("Failed to get home directory"))
}