mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
feat(cli): add sort-by flag to sub commands (#1768)
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
@@ -11,9 +11,10 @@ import (
|
||||
|
||||
func NewSearchCommand(searchService SearchService) *cobra.Command {
|
||||
searchCmd := &cobra.Command{
|
||||
Use: "search [config-name]",
|
||||
Use: "search [command]",
|
||||
Short: "Search images and their tags",
|
||||
Long: `Search repos or images`,
|
||||
RunE: ShowSuggestionsIfUnknownCommand,
|
||||
}
|
||||
|
||||
searchCmd.SetUsageTemplate(searchCmd.UsageTemplate() + usageFooter)
|
||||
|
||||
Reference in New Issue
Block a user