import { homedir } from "node:os";
import { resolve } from "node:path";
export function resolveProjectInputPath(inputPath, cwd) {
    if (inputPath === "~") {
        return homedir();
    }
    if (inputPath.startsWith("~/") || inputPath.startsWith("~\\")) {
        return resolve(homedir(), inputPath.slice(2));
    }
    return resolve(cwd, inputPath);
}
//# sourceMappingURL=project-path.js.map