mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-12-19 09:55:01 -07:00
6d708b2807
* Create asdf-version script to print formatted version * Update Makefile to set main.version variable during build * Improve help output formatting * Update release-build workflow to set asdf version in binaries
15 lines
224 B
Go
15 lines
224 B
Go
// Main entrypoint for the CLI app
|
|
package main
|
|
|
|
import (
|
|
"asdf/cmd"
|
|
)
|
|
|
|
// Replaced with the real version during a typical build
|
|
var version = "v-dev"
|
|
|
|
// Placeholder for the real code
|
|
func main() {
|
|
cmd.Execute(version)
|
|
}
|