databricks-cli/cmd
Pieter Noordhuis 1c27f081e0
Include build information and add version command (#194)
Includes relevant fields listed on
https://goreleaser.com/customization/templates/ into build artifacts.

The version command outputs the version by default:
```
$ bricks version
0.0.21-devel
```

Or all build information if `--json` is specified:
```
$ bricks version --json
{
  "ProjectName": "bricks",
  "Version": "0.0.21-devel",
  "Branch": "version-info",
  "Tag": "v0.0.20",
  "ShortCommit": "193b56b",
  "FullCommit": "193b56b0929128c0836d35e913c46fd66fa2a93c",
  "CommitTime": "2023-02-02T22:04:42+01:00",
  "Summary": "v0.0.20-5-g193b56b",
  "Major": 0,
  "Minor": 0,
  "Patch": 20,
  "Prerelease": "",
  "IsSnapshot": true,
  "BuildTime": "2023-02-02T22:07:36+01:00"
}
```
2023-02-03 15:38:53 +01:00
..
api Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01:00
auth bricks auth profiles tweaks (#178) 2023-01-24 15:54:28 +01:00
bundle Move bundle loading functions to top level (#181) 2023-01-27 17:05:57 +01:00
configure Run unit tests on windows and macos (#103) 2022-11-28 11:34:25 +01:00
fs Store project object in context.Context instead of global (#61) 2022-09-16 11:06:58 +02:00
init Add environments to project configuration (#68) 2022-09-22 13:40:11 +02:00
launch Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
prompt Store project object in context.Context instead of global (#61) 2022-09-16 11:06:58 +02:00
root Move bundle loading functions to top level (#181) 2023-01-27 17:05:57 +01:00
sync Move git package to libs/git (#189) 2023-01-31 19:19:16 +01:00
test moved commands to own packages 2022-05-14 19:54:35 +02:00
version Include build information and add version command (#194) 2023-02-03 15:38:53 +01:00