Command-line interface

$ tdc --help
transport_data.testing.cli commands not available: No module named 'pytest'
Usage: tdc [OPTIONS] COMMAND [ARGS]...

  Transport Data Commons tools.

Options:
  --help  Show this message and exit.

Commands:
  ato           Asian Transport Observatory (ATO) provider.
  check-file    Check that FILE can be read as SDMX-CSV.
  check-record  Check record NAME on the TDC.
  ckan          Interact with the TDC CKAN instance via its API.
  config        Manipulate configuration.
  edit          Edit SDMX interactively.
  estat         Eurostat (ESTAT) provider.
  iamc          Demonstrate IAMC structure generation.
  iso           International Organization for Standardization (ISO)...
  itdp          Institute for Transport and Development Policy (ITDP).
  jrc           EU Joint Research Center (JRC) provider.
  oica          OICA provider.
  org           TDCI itself.
  proto         TDC prototype debugging.
  store         Manipulate local SDMX (meta)data.

Code reference

Command-line interface.

Submodules

check_file

check_record

interactive

Edit SDMX interactively.

Module data

MODULES_WITH_CLI

List of (sub)modules that define CLI (sub)commands.

transport_data.cli.MODULES_WITH_CLI = ['transport_data.config', 'transport_data.cli.interactive', 'transport_data.cli.check_file', 'transport_data.cli.check_record', 'transport_data.org.ckan', 'transport_data.proto.cli', 'transport_data.store', 'transport_data.testing.cli'][source]

List of (sub)modules that define CLI (sub)commands. Each should contain a @click.command() named “main”.