Skip to content

Commit

Permalink
Add support for version flag and update version number to v1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
devhindo committed Nov 6, 2024
1 parent ab2270e commit 4d75147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/cli/x/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ func HandleArgs() {
case "v":
checkArgsequals2()
Version()
case "-v":
checkArgsequals2()
Version()
case "f": // x -t "hi" 5h6m7s
checkArgsequals2()
tweet.PostFutureTweet(os.Args)
Expand Down
2 changes: 1 addition & 1 deletion src/cli/x/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package x
import "fmt"

func Version() {
fmt.Println("x CLI v1.1.2")
fmt.Println("x CLI v1.1.4")
}

0 comments on commit 4d75147

Please sign in to comment.