Skip to content

Commit

Permalink
Added version flag to wakie, which prints out app version.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKam committed Dec 15, 2021
1 parent 62e152b commit f2314c8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ var homeDir string

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "wakie",
Short: "Wake-on-LAN utility",
Long: `Utility for sending Magic Packets for Wake-on-LAN, as well as managing an address book of computer MAC Addresses.`,
Version: "1.2.2",
Use: "wakie",
Short: "Wake-on-LAN utility",
Long: `Utility for sending Magic Packets for Wake-on-LAN, as well as managing an address book of computer MAC Addresses.`,
Run: func(cmd *cobra.Command, args []string) {

switch {
Expand Down

0 comments on commit f2314c8

Please sign in to comment.