diff options
Diffstat (limited to 'client/go/internal/cli/cmd/login.go')
-rw-r--r-- | client/go/internal/cli/cmd/login.go | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/client/go/internal/cli/cmd/login.go b/client/go/internal/cli/cmd/login.go index d6eb8207b7f..b380e627203 100644 --- a/client/go/internal/cli/cmd/login.go +++ b/client/go/internal/cli/cmd/login.go @@ -1,3 +1,4 @@ +// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package cmd import ( @@ -18,9 +19,13 @@ import ( // this will only affect the messages. func newLoginCmd(cli *CLI) *cobra.Command { return &cobra.Command{ - Use: "login", - Args: cobra.NoArgs, - Short: "Authenticate Vespa CLI with Vespa Cloud", + Use: "login", + Args: cobra.NoArgs, + Short: "Authenticate Vespa CLI with Vespa Cloud control plane. This is preferred over api-key for interactive use", + Long: `Authenticate Vespa CLI with Vespa Cloud control plane. This is preferred over api-key for interactive use. + +This command runs a browser-based authentication flow for the Vespa Cloud control plane. +`, Example: "$ vespa auth login", DisableAutoGenTag: true, SilenceUsage: true, |