Skip to content

Commit

Permalink
specify version
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Dec 6, 2024
1 parent b21454e commit 8e3d639
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/emu/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ const (
categoryControl = "Control a running AVD"
)

// This is set by GoReleaser, see https://goreleaser.com/cookbooks/using-main.version
var version = "dev"

func main() {
log.SetFlags(0)
emulator.PrintInvocations = true

root := &cli.Command{
Name: "emu",
Usage: "Manage android emulators with ease",
Authors: []any{"Bartek Pacia <[email protected]>"},
Version: version,
EnableShellCompletion: true,
HideHelpCommand: true,
Flags: []cli.Flag{
Expand Down

0 comments on commit 8e3d639

Please sign in to comment.