I love cslarsen/wpm, i use it almost everyday! so i wanted to make my own version on golang.
Build the project
$ go build
Move it in a directory in your $PATH
# mv gopm /usr/local/bin/
$ gopm FILES...
Example: start practicing on files test.txt
and test2.txt
$ gopm test.txt test2.txt
Or run it without building building the project
go run main.go -- [...FILES]
$ go test ./...
Action | Keystroke |
---|---|
quit | <Ctrl-c> |
next | <Ctrl-n> |
previous | <Ctrl-p> |