Skip to content

feat(BREV-9601): Add CLI command to view Brev credit balance - #410

Open
jtripathi1 wants to merge 2 commits into
mainfrom
BREV-9601/add-brev-credit-command
Open

jtripathi1 wants to merge 2 commits into
mainfrom
BREV-9601/add-brev-credit-command

Conversation

@jtripathi1

Copy link
Copy Markdown
  • Adds brev credit command to show an organization's credit balance . Prints organization name, ID, and credits

  • Adds -o, --org flag to brev credit for querying a specific organization by name instead of the active one.

  • Returns failed to retrieve credit balance when credit balance data cannot be read from the response

@jtripathi1 jtripathi1 self-assigned this Jun 17, 2026
@jtripathi1
jtripathi1 requested a review from a team as a code owner June 17, 2026 23:52
Comment thread pkg/cmd/credit/credit.go

cmd := &cobra.Command{
Annotations: map[string]string{"organization": ""},
Use: "credit",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we do balance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants