diff --git a/internal/commands/account/show.go b/internal/commands/account/show.go index e74c2a7e3..188804354 100644 --- a/internal/commands/account/show.go +++ b/internal/commands/account/show.go @@ -26,7 +26,8 @@ func (s *showCommand) ExecuteWithoutArguments(exec commands.Executor) (output.Ou if err != nil { return nil, err } - return output.Details{ + + details, err := output.Details{ Sections: []output.DetailSection{ { Rows: []output.DetailRow{ @@ -80,6 +81,11 @@ func (s *showCommand) ExecuteWithoutArguments(exec commands.Executor) (output.Ou }, }, }, nil + + return output.MarshaledWithHumanOutput{ + Value: account, + Output: details, + }, err } func formatCredits(credits float64) string {