image: add intermediate "image" verb to upload tool

This commit is contained in:
Malte Poll 2023-05-23 12:12:58 +02:00 committed by Malte Poll
parent 0a7349ca41
commit b8751f35f9
10 changed files with 63 additions and 37 deletions

View file

@ -18,8 +18,8 @@ import (
"github.com/spf13/cobra"
)
// NewGCPCommand returns the command that uploads an OS image to GCP.
func NewGCPCommand() *cobra.Command {
// newGCPCommand returns the command that uploads an OS image to GCP.
func newGCPCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "gcp",
Short: "Upload OS image to GCP",