Skip to content

Commit 40aa73c

Browse files
committed
Add version flag in root command
1 parent 8dcf7f1 commit 40aa73c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/cmd/root.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ From there, the most common workflow is:
6262
},
6363

6464
TraverseChildren: true,
65+
66+
Version: "v0.1.0",
6567
}
6668

6769
// Execute adds all child commands to the root command and sets flags appropriately.

0 commit comments

Comments
 (0)