Added description for version command (#737)

## Changes
Added description for version command

## Tests
```
databricks help

...

Additional Commands:
  account              Databricks Account Commands
  api                  Perform Databricks API call
  auth                 Authentication related commands
  bundle               Databricks Asset Bundles
  completion           Generate the autocompletion script for the specified shell
  fs                   Filesystem related commands
  help                 Help about any command
  sync                 Synchronize a local directory to a workspace directory
  version              Retrieve information about the current version of CLI
```

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
This commit is contained in:
Andrew Nester 2023-09-06 10:41:47 +02:00 committed by GitHub
parent fabe8e88b8
commit a41b9e8bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ import (
func New() *cobra.Command { func New() *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "version", Use: "version",
Args: cobra.NoArgs, Args: cobra.NoArgs,
Short: "Retrieve information about the current version of this CLI",
Annotations: map[string]string{ Annotations: map[string]string{
"template": "Databricks CLI v{{.Version}}\n", "template": "Databricks CLI v{{.Version}}\n",
}, },