aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/internal/cli/cmd/auth.go
blob: 453d2296b08bda857d566dfd0147a685b7b0e350 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package cmd

import (
	"fmt"

	"github.com/spf13/cobra"
)

func newAuthCmd() *cobra.Command {
	return &cobra.Command{
		Use:               "auth",
		Short:             "Manage Vespa Cloud credentials",
		Long:              `Manage Vespa Cloud credentials.`,
		DisableAutoGenTag: true,
		SilenceUsage:      false,
		Args:              cobra.MinimumNArgs(1),
		RunE: func(cmd *cobra.Command, args []string) error {
			return fmt.Errorf("invalid command: %s", args[0])
		},
	}
}