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 and the command-line.