mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
20 lines
267 B
Go
20 lines
267 B
Go
package image
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewRootCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "image",
|
|
Short: "Manage images on machines in the cluster.",
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
NewListCommand(),
|
|
NewPushCommand(),
|
|
)
|
|
|
|
return cmd
|
|
}
|