A vimgolf client written in Python
This project contains a vimgolf client written in Python.
- Python 3.5 or greater
$ pip3 install vimgolf
$ pip3 install --upgrade vimgolf
If the launcher script was installed within a directory on your
PATH, vimgolf can be launched
Otherwise, vimgolf can be launched by passing its module name to Python.
$ python3 -m vimgolf
vimgolf [help] # display this help and exit vimgolf config [API_KEY] # configure your VimGolf credentials vimgolf local INFILE OUTFILE # launch local challenge vimgolf put CHALLENGE_ID # launch vimgolf.com challenge vimgolf list [PAGE][:LIMIT] # list vimgolf.com challenges vimgolf show CHALLENGE_ID # show vimgolf.com challenge vimgolf version # display the version number
CHALLENGE_ID can be a 24-character ID from vimgolf.com, or a plus-prefixed ID corresponding to the
last invocation of
vimgolf list. For example, a
+6 would correspond to the
sixth challenge presented in the most recent call to
The source code has an MIT License.