Skip to content

Commit

Permalink
Add a version command
Browse files Browse the repository at this point in the history
  • Loading branch information
vHanda committed May 15, 2022
1 parent 4ea0126 commit c1f8a20
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 @@ -81,6 +81,14 @@ func main() {
return nil
},
},
{
Name: "version",
Usage: "Print the version",
Action: func(ctx *cli.Context) error {
cli.VersionPrinter(ctx)
return nil
},
},
{
Name: "daemon",
Aliases: []string{"d"},
Expand Down

0 comments on commit c1f8a20

Please sign in to comment.