fix: update for CoreGO API — s.core.App → s.core.App().Runtime
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
85eaceec05
commit
542698c579
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue