Skip to content

User user commands (info + quota)#20

Merged
HanXHX merged 3 commits intomasterfrom
user_cmd
Mar 12, 2026
Merged

User user commands (info + quota)#20
HanXHX merged 3 commits intomasterfrom
user_cmd

Conversation

@HanXHX
Copy link
Copy Markdown
Contributor

@HanXHX HanXHX commented Mar 12, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 12, 2026 15:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds new CLI commands under user to display the authenticated user’s profile information and current quota, backed by new API client methods.

Changes:

  • Add GET /user/me client support via Client.GetMe() and new UserInfo type.
  • Add GET /user/quota client support via Client.GetQuota() and new UserQuota type.
  • Introduce retyc user info and retyc user quota commands; update roadmap status in README.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
internal/api/user.go Adds API types + client methods for /user/me and /user/quota.
cmd/user.go Adds user command with info and quota subcommands and output formatting helpers.
README.md Marks “User” roadmap items as completed.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread cmd/user.go Outdated
@HanXHX HanXHX merged commit 32ab5b4 into master Mar 12, 2026
4 checks passed
@HanXHX HanXHX deleted the user_cmd branch March 12, 2026 20:00
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