goharbor / harbor-cli

[Sandbox] Official Harbor CLI
Apache License 2.0
31 stars 37 forks source link

Streamline List Commands #84

Closed bupd closed 2 months ago

bupd commented 3 months ago

Description:

Many of the current list commands in the CLI are not streamlined, and some are missing the ID function. This inconsistency makes it difficult for users to utilize these commands effectively, especially in scripts where resource IDs are required for further modifications.

Reason:

Tasks:

This aligns the CLI with best practices for command-line tools, ensuring all necessary information is readily available in command outputs.

After implementing this enhancement, commands such as project list, user list, repo list, etc., will include their resource ID by default, making it easier for users to identify and interact with resources.