Skip to content

Add version flag to print version and exit#394

Merged
pietern merged 2 commits intomainfrom
version-flag
May 22, 2023
Merged

Add version flag to print version and exit#394
pietern merged 2 commits intomainfrom
version-flag

Conversation

@pietern
Copy link
Copy Markdown
Contributor

@pietern pietern commented May 22, 2023

Changes

With this PR, all of the command below print version and exit:

$ databricks -v
Databricks CLI v0.100.1-dev+4d3fa76
$ databricks --version
Databricks CLI v0.100.1-dev+4d3fa76
$ databricks version  
Databricks CLI v0.100.1-dev+4d3fa76

Tests

Added integration test for each flag or command.

@pietern pietern requested a review from andrewnester May 22, 2023 18:46
Copy link
Copy Markdown
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pietern pietern merged commit d86a1f0 into main May 22, 2023
@pietern pietern deleted the version-flag branch May 22, 2023 18:55
@pietern pietern mentioned this pull request May 23, 2023
pietern added a commit that referenced this pull request May 23, 2023
## Changes

CLI:
* Sync: Gracefully handle broken notebook files
([#398](#398)).
* Add version flag to print version and exit
([#394](#394)).
* Pass temporary directory environment variables to subprocesses
([#395](#395)).
* Rename environment variables `BRICKS_` -> `DATABRICKS_`
([#393](#393)).
* Update to Go SDK v0.9.0
([#396](#396)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants