From 1f1fe4c6a80908e500e2ad2f25320908a3cc6117 Mon Sep 17 00:00:00 2001 From: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com> Date: Mon, 15 Apr 2024 22:13:46 +0530 Subject: [PATCH] Add URLs for authentication documentation to the auth command help (#1365) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ➜ cli git:(fix/better-auth-docs) ✗ cli auth -h Authentication related commands. For more information regarding how authentication for the Databricks CLI and SDKs work please refer to the documentation linked below. AWS: https://docs.databricks.com/en/dev-tools/auth/index.html Azure: https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth GCP: https://docs.gcp.databricks.com/en/dev-tools/auth/index.html ``` --- cmd/auth/auth.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/auth/auth.go b/cmd/auth/auth.go index 59de7611..947d8940 100644 --- a/cmd/auth/auth.go +++ b/cmd/auth/auth.go @@ -12,6 +12,13 @@ func New() *cobra.Command { cmd := &cobra.Command{ Use: "auth", Short: "Authentication related commands", + Long: `Authentication related commands. For more information regarding how +authentication for the Databricks CLI and SDKs work please refer to the documentation +linked below. + +AWS: https://docs.databricks.com/en/dev-tools/auth/index.html +Azure: https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth +GCP: https://docs.gcp.databricks.com/en/dev-tools/auth/index.html`, } var perisistentAuth auth.PersistentAuth