Add version info

This commit is contained in:
Torjus Håkestad 2023-10-23 21:28:49 +02:00
parent e4f22be6c9
commit 0f7f29ce26

View File

@ -8,9 +8,12 @@ import (
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )
const Version string = "v0.1.0"
func main() { func main() {
app := cli.App{ app := cli.App{
Name: "mf-cli", Name: "mf-cli",
Version: Version,
Commands: []*cli.Command{ Commands: []*cli.Command{
{ {
Name: "auth", Name: "auth",