Skip to content

Commit 4b9e50a

Browse files
committed
feat: improve billing status display format
1 parent 74fbec0 commit 4b9e50a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/commands/billing/status.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package billing
22

33
import (
44
"fmt"
5+
"strings"
56
"time"
67

78
"github.com/Layr-Labs/eigenx-cli/pkg/commands/utils"
@@ -79,11 +80,10 @@ var StatusCommand = &cli.Command{
7980

8081
// Plan details
8182
if subscription.PlanPrice != nil && subscription.Currency != nil && *subscription.PlanPrice > 0 {
82-
logger.Info("Plan: $%.2f/%s", *subscription.PlanPrice, *subscription.Currency)
83+
logger.Info("Plan: $%.2f %s", *subscription.PlanPrice, strings.ToUpper(*subscription.Currency))
8384
} else {
8485
logger.Info("Plan: Standard")
8586
}
86-
logger.Info(" - 1 app deployed on %s", envName)
8787
logger.Info("")
8888

8989
// Current environment usage

0 commit comments

Comments
 (0)