feat(cli): add sort-by flag to sub commands (#1768)

Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
LaurentiuNiculae
2023-09-14 20:51:17 +03:00
committed by GitHub
parent c210e3f377
commit aae8b7b4e3
23 changed files with 714 additions and 98 deletions
+1
View File
@@ -24,6 +24,7 @@ func NewImageCommand(searchService SearchService) *cobra.Command {
Use: "image [command]",
Short: "List images hosted on the zot registry",
Long: `List images hosted on the zot registry`,
RunE: ShowSuggestionsIfUnknownCommand,
}
imageCmd.SetUsageTemplate(imageCmd.UsageTemplate() + usageFooter)