mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
build: split functionality into separate binaries
zot: registry server zli: zot cli to interact with the zot registry zui: zot ui (proposed) zb: zot benchmark (proposed) Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
c4d34b7269
commit
4896adad1b
@@ -23,8 +23,8 @@ func NewImageCommand(searchService SearchService) *cobra.Command {
|
||||
|
||||
imageCmd := &cobra.Command{
|
||||
Use: "images [config-name]",
|
||||
Short: "List hosted images",
|
||||
Long: `List images hosted on zot`,
|
||||
Short: "List images hosted on the zot registry",
|
||||
Long: `List images hosted on the zot registry`,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
home, err := os.UserHomeDir()
|
||||
if err != nil {
|
||||
@@ -145,6 +145,6 @@ func searchImage(searchConfig searchConfig) error {
|
||||
const (
|
||||
spinnerDuration = 150 * time.Millisecond
|
||||
usageFooter = `
|
||||
Run 'zot config -h' for details on [config-name] argument
|
||||
Run 'zli config -h' for details on [config-name] argument
|
||||
`
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user