Commands
Command categories
Section titled “Command categories”The CLI commands are organized into categories named after the main objects they support:
- package
- resource
- dialect
- schema
- table
Each category has its own commands for example the table
category:
dp table convert
dp table describe
dp table explore
dp table query
dp table validate
Working with data packages
Section titled “Working with data packages”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:
dp table explore table.csv
Or this command using an interactive mode:
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:
dp table explore -p datapackage.json -r table