Skip to content

CLI recipes

The CLI category covers the un-comtrade console script: every command group driven from a Python recipe. Each recipe invokes the CLI as a subprocess and parses the structured output.

ID Title Runtime API key
RECIPE-091 Drive metadata commands from the CLI 2 – 4 s no
RECIPE-095 Drive trade commands from the CLI 2 – 4 s no
RECIPE-099 Drive analytics commands from the CLI 2 – 4 s no
RECIPE-100 Drive ETL from the CLI 2 – 4 s no
RECIPE-101 Drive storage from the CLI 2 – 4 s no
RECIPE-104 Output formats from the CLI 2 – 4 s no

Path

  1. RECIPE-091Drive metadata commands from the CLI.
  2. RECIPE-095Drive trade commands from the CLI.
  3. RECIPE-099Drive analytics commands from the CLI.
  4. RECIPE-100Drive ETL from the CLI.
  5. RECIPE-101Drive storage from the CLI.
  6. RECIPE-104Output formats from the CLI.

Run them all

for recipe in recipes/cli/*.py; do
    UN_COMTRADE_MOCK=1 python "$recipe"
done

Next steps