cslarsen / wpm

Typeracer-like console app for measuring your WPM
GNU Affero General Public License v3.0
322 stars 48 forks source link

Added Functionality To Add Custom Examples #2

Closed gauravsofat closed 7 years ago

gauravsofat commented 7 years ago

This Pull Request resolves #1 by implementing the necessary script and making the necessary changes which allow it to be called using a command line parameter '-A' or '--addtext'.

cslarsen commented 7 years ago

Thanks for the effort, but I won't accept this PR: I won't write to the system's site-packages directory.

A better solution would be to introduce an optional ~/.wpmrc file that contains user specific settings. It could contain a JSON_FILE = ... to use if --load-json isn't specified.