diff --git a/.gitignore b/.gitignore index 7c3625549..3475418a2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ .envrc .vscode/ abra -kadabra +/kadabra dist/ tests/integration/.abra/catalogue vendor/ diff --git a/cmd/kadabra/main.go b/cmd/kadabra/main.go new file mode 100644 index 000000000..bdac47f41 --- /dev/null +++ b/cmd/kadabra/main.go @@ -0,0 +1,23 @@ +// Package main provides the command-line entrypoint. +package main + +import ( + "coopcloud.tech/abra/cli/updater" +) + +// Version is the current version of Abra +var Version string + +// Commit is the current git commit of Abra +var Commit string + +func main() { + if Version == "" { + Version = "dev" + } + if Commit == "" { + Commit = " " + } + + updater.RunApp(Version, Commit) +}