firebreak/packages/cli/src/index.ts
ZTatman d6b9677ca5 refactor(cli): restructure CLI with new command router and merge verify/doctor
- Replace custom argument parsing with generic cli-router
- Add subcommand support (myst config init, myst config view)
- Merge verify and doctor into single command with --diagnostic flag
- Extract shared forgejo-checks to utils
- Remove unused code (generatePassword, EnvKey/ConfigKey types)
- Add dynamic package.json for help/version display
2026-04-11 22:16:22 -04:00

5 lines
173 B
JavaScript

#!/usr/bin/env node
import { runCli } from "./cli-router.js";
import { commandRegistry } from "./commandRegistry.js";
await runCli(process.argv.slice(2), commandRegistry);