- 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
9 lines
319 B
TypeScript
9 lines
319 B
TypeScript
import { createCli } from './cli/mod.ts';
|
|
import { initI18n } from './i18n/mod.ts';
|
|
|
|
// ────────────────────────────────────────────────
|
|
// Entry Point for CLI
|
|
|
|
await initI18n();
|
|
await (await createCli()).parse(Deno.args);
|