prepared dot files

This commit is contained in:
2026-07-04 23:48:24 +02:00
commit 913ebaab14
26 changed files with 1103 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { parseArgs } from "node:util";
import { install } from "./install.js";
import { update } from "./update.js";
import { remove } from "./remove.js";
const { positionals } = parseArgs({ allowPositionals: true });
const [command] = positionals;
switch (command) {
case "install":
await install();
break;
case "update":
await update();
break;
case "remove":
await remove();
break;
default:
console.error("Usage: dotfiles <install|update|remove>");
process.exit(1);
}