- 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
5 lines
173 B
JavaScript
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);
|