databricks-cli/internal
Pieter Noordhuis d86a1f0847
Add version flag to print version and exit (#394)
## 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.
2023-05-22 20:55:42 +02:00
..
build Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
api_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
filer_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
helpers.go Add version flag to print version and exit (#394) 2023-05-22 20:55:42 +02:00
locker_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
sync_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
version_test.go Add version flag to print version and exit (#394) 2023-05-22 20:55:42 +02:00