Skip to content

Commands

After instalation, the dpkit’s command-line tool is available in your terminal under name dp. Please read the Getting Started guide for more information.

The CLI commands are organized into categories named after the main objects they support:

  • package
  • resource
  • dialect
  • schema
  • table
  • file

Each category has its own commands for example the table category:

  • dp table convert
  • dp table describe
  • dp table explore
  • dp table script
  • dp table validate

Usually non-package command support the -p/--package and -r/--resource options to specify the datapackage file path and a resource name to access an object inside a data package.

For example, we can explore a table using this command:

Terminal window
dp table explore table.csv

Or this command using an interactive mode:

Terminal window
dp table explore -p datapackage.json
# it will ask you to select a resource

Or this command using both the datapackage file path and the resource name making it non-interactive similarly to the plain path-based command:

Terminal window
dp table explore -p datapackage.json -r table