Skip to content

Commit

Permalink
Add version command.
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Schulz <[email protected]>
  • Loading branch information
dominikschulz committed Jan 9, 2023
1 parent 90b3393 commit 643c1ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ func main() {
},
},
},
{
Name: "version",
Action: func(c *cli.Context) error {
cli.VersionPrinter(c)

return nil
},
},
}

if err := app.RunContext(ctx, os.Args); err != nil {
Expand Down

0 comments on commit 643c1ac

Please sign in to comment.