diff options
author | bjormel <bjormel@yahooinc.com> | 2023-10-26 13:59:28 +0000 |
---|---|---|
committer | bjormel <bjormel@yahooinc.com> | 2023-10-26 13:59:28 +0000 |
commit | 567be9a1f6353cec41c23bfd1fcd46b4b2a4d2d7 (patch) | |
tree | 4664a743e166a5e11aee7b9acd70ad8ee2617612 /client/go/internal/cli/cmd/login.go | |
parent | e9058b555d4dfea2f6c872d9a677e8678b569569 (diff) | |
parent | bce3b8e926bf9da880172acbe1ba4b12d5e026d6 (diff) |
Merge branch 'master' into bjormel/aws-main-controllerbjormel/aws-main-controller
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, |