#!/usr/bin/env bun

import { setupServices } from "./bootstrap-services"

// Get install directory from argument or use default
const defaultUser = process.env.USER || "corey"
const INSTALL_DIR = process.argv[2] || `/home/${defaultUser}/phone`

console.log(`Setting up services for: ${INSTALL_DIR}`)

await setupServices(INSTALL_DIR)

console.log(`
✓ Services configured and running!
`)
