open-contracting / ocdskit

A suite of command-line tools for working with OCDS data
https://ocdskit.readthedocs.io
BSD 3-Clause "New" or "Revised" License
17 stars 7 forks source link

mapping-sheet: commands in docs results in an error #107

Closed duncandewhurst closed 5 years ago

duncandewhurst commented 5 years ago

Trying to use the commands in the docs, e.g.

ocdskit mapping-sheet release-schema.json > mapping-sheet.csv`

results in an error:

ocdskit: error: unrecognized arguments: release-schema.json

I believe I'm using the latest version on pip:

pip3 show ocdskit
Name: ocdskit
Version: 0.0.5

Piping the input to the mapping-sheet command still works, so we could just update the docs to reflect that, but I'm not sure if providing the input as an argument should also be working.

jpmckinney commented 5 years ago

Sorry, the docs on GitHub are for the latest version, which hasn't yet been released. In that version, the command works. Going forward, there will be different ReadTheDocs websites for different versions, to make it easier to access the relevant documentation. You can install the version on GitHub with:

pip install -e git+https://github.com/open-contracting/ocdskit.git#egg=ocdskit