Feature Request: Implement Profile Information Command
Related Roadmap Section
This issue addresses the following items from the ROADMAP.md document:
-
Priority 3.1: User Profile ->
View own profile information -
API Endpoints:
GET /api/v1/auth/me -
Proposed Command:
corpus-client profile
The Problem
Currently, while users can log in to the CLI, they don't have a quick way to verify their live profile details (like their registered name, email, or location) directly from the backend server. Users need a simple command to check "who am I currently logged in as?" and ensure their profile data is correct before uploading files.
Proposed Solution
Implement the corpus-client profile command to act as a digital ID card within the terminal.
Requirements:
-
Verify the user is authenticated. -
Fetch the user's live profile data from the /api/v1/auth/meendpoint. -
Safely extract key details (Name, Username, Email, Phone, Location). -
Display the information in a clean, easily readable UI using a richPanel and Table format.
Status
I am currently working on this feature in the feat/user-profile branch and will be opening a Merge Request to close this issue shortly!