summaryrefslogtreecommitdiff
path: root/cmd/goaes/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/goaes/main.go')
-rw-r--r--cmd/goaes/main.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/cmd/goaes/main.go b/cmd/goaes/main.go
index 913317d..df89eed 100644
--- a/cmd/goaes/main.go
+++ b/cmd/goaes/main.go
@@ -9,10 +9,15 @@ import (
"github.com/urfave/cli/v3"
)
+var (
+ version = "dev"
+)
+
func main() {
cmd := &cli.Command{
- Name: "goaes",
- Usage: "Simple AES encryption built with Go",
+ Name: "goaes",
+ Usage: "Simple AES encryption built with Go",
+ Version: version,
Action: func(ctx context.Context, cmd *cli.Command) error {
return cli.DefaultShowRootCommandHelp(cmd)
},