feat(project): add view command for project member - #839
Open
vishnukothakapu wants to merge 1 commit into
Open
Conversation
Contributor
|
How did you regenerate the docs? there shouldnt be deletions |
vishnukothakapu
force-pushed
the
feat/project-member-view
branch
3 times, most recently
from
April 26, 2026 06:32
23359ba to
5e4bb14
Compare
vishnukothakapu
force-pushed
the
feat/project-member-view
branch
from
May 7, 2026 05:52
5e4bb14 to
fefaa94
Compare
Signed-off-by: Vishnu Kothakapu <vishnukothakapu27@gmail.com>
vishnukothakapu
force-pushed
the
feat/project-member-view
branch
from
August 11, 2026 19:30
fefaa94 to
6694256
Compare
Author
@NucleoFusion The deletions happened because the docs are auto-generated from the Cobra command fields. I missed the I’ve pushed a fix, regenerated the docs, restored the deleted sections, and resolved the merge conflicts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds the
harbor project member viewcommand to the CLI.Previously, the
project membersubcommand group was missing aviewcommand, making it inconsistent with the rest of the CLI (which follows a standard CRUD+view pattern). Users who wanted to inspect a specific member had to run alistcommand and filter the output manually.This PR leverages the already existing backend API handler and TUI view components to provide a dedicated command that supports interactive prompts,
--wideoutputs, and structured JSON/YAML outputs for scripting workflows.harbor project member viewcommand #838Type of Change
Please select the relevant type.
Changes
cmd/harbor/root/project/member/view.goto implementViewMemberCommand().project membersubcommand group incmd/harbor/root/project/member.go.