fix: update for CoreGO API — s.core.App → s.core.App().Runtime

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-18 12:19:03 +00:00
parent 85eaceec05
commit 542698c579

View file

@ -41,7 +41,7 @@ type commandService struct {
}
func (s *commandService) OnStartup(_ context.Context) error {
if root, ok := s.core.App.(*cobra.Command); ok {
if root, ok := s.core.App().Runtime.(*cobra.Command); ok {
s.register(root)
// Auto-set Short/Long from i18n keys derived from command name.
// The Conclave's i18n service has already loaded all translations