mirror of https://github.com/databricks/cli.git
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:
parent
fabe8e88b8
commit
a41b9e8bf2
|
@ -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",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue