cli/pkg
Snider ee7e9d1abf
Some checks failed
Deploy / build (push) Failing after 4s
Security Scan / security (push) Successful in 15s
feat: RegisterCommands accepts locale FS for automatic translation loading
Both WithCommands() and RegisterCommands() now accept an optional
fs.FS for translations. The CLI collects them via RegisteredLocales()
and the i18n service loads them on startup.

Packages just pass their embed.FS — no i18n import needed:
  cli.RegisterCommands(AddDevCommands, locales.FS)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 01:35:04 +00:00
..
cli feat: RegisterCommands accepts locale FS for automatic translation loading 2026-03-17 01:35:04 +00:00