Commands#
dataPi provides several commands to manage your data pods and documentation. Here’s a list of available commands:
Initialize a New Project#
To create a new dataPi project:
datapi init [PROJECT_NAME]
If no project name is specified, it defaults to ‘datapi_project’.
Deploy Resources#
Deploy all resources:
datapi run --all
Deploy a single resource:
datapi run --resource [RESOURCE_NAME]
List Resources#
List all resources:
datapi show --all
List a single resource:
datapi show --resource [RESOURCE_NAME]
Generate Documentation#
Generate documentation for all resources:
datapi docs generate --all
Generate documentation for a single resource:
datapi docs generate --resource [RESOURCE_NAME]
Serve Documentation#
To serve the generated documentation:
datapi docs serve