#!/usr/bin/env node import { relative } from 'node:path'; import mri from 'mri'; import { cyan } from 'colorette'; import { d as downloadTemplate, s as startShell } from './shared/giget.5e7ec864.mjs'; import 'node:fs/promises'; import 'node:os'; import 'node:fs'; import 'tar'; import 'pathe'; import 'defu'; import 'node:stream'; import 'node:child_process'; import 'node:util'; import 'node-fetch-native'; import 'https-proxy-agent'; async function main() { const arguments_ = mri(process.argv.slice(2), { boolean: ["help", "force", "force-clean", "offline", "prefer-offline", "shell", "verbose"], string: ["registry", "cwd", "auth"] }); const input = arguments_._[0]; const dir = arguments_._[1]; if (!input || arguments_.help || arguments_.h) { console.error("Usage: npx getgit@latest [