Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 808 Bytes

cli.rst

File metadata and controls

33 lines (20 loc) · 808 Bytes

Command-Line Interface

To see all commands available, run:

ocdskit --help

Users on Windows should run set PYTHONIOENCODING=utf-8 and set PYTHONUTF8=1 in each terminal session before running any ocdskit commands. To set these environment variables for all future sessions, run setx PYTHONIOENCODING utf-8 and setx PYTHONUTF8 1.

To process a remote file:

curl <url> | ocdskit <command>

To process a local file:

cat <path> | ocdskit <command>

For exploring JSON data, consider using jq. See our tips on using jq <jq> and the command-line <command-line>.

cli/ocds cli/schema cli/generic cli/examples