refactor(cli): integrate i18n support across commands

- Centralize CLI text strings using the i18n module for localization
- Refactor `createCommand` and `createCli` to improve modularity
- Update logging and error messages to use translated strings
This commit is contained in:
2025-05-28 18:09:52 +02:00
parent 8efbee1ba9
commit 2a13ee2539
6 changed files with 73 additions and 61 deletions

View File

@@ -1,5 +1,8 @@
import './cli/main.ts';
import { createCli } from './cli/mod.ts';
import { initI18n } from './i18n/mod.ts';
// ────────────────────────────────────────────────
// Entry Point for CLI
// Delegates to src/cli/main.ts, which registers all CLI commands
await initI18n();
await (await createCli()).parse(Deno.args);