Skip to content

Quick Start

First, list available workspaces:

Terminal window
sup workspace list

Set your active workspace:

Terminal window
sup workspace use 123

List your charts:

Terminal window
sup chart list --mine

List dashboards:

Terminal window
sup dashboard list --limit 10

Pull charts with dependencies:

Terminal window
sup chart pull --ids 456,789

This creates a local ./assets/ directory with your charts and their dependencies.

Execute queries directly:

Terminal window
sup sql "SELECT COUNT(*) FROM orders WHERE created_at > '2024-01-01'"

Export results:

Terminal window
sup sql "SELECT * FROM customers" --json > customers.json

Set a target workspace:

Terminal window
sup workspace set-target 456

Push your charts:

Terminal window
sup chart push --force
Terminal window
# Pull from dev
sup workspace use dev-workspace
sup dashboard pull --ids 123
# Push to prod
sup workspace use prod-workspace
sup dashboard push
Terminal window
sup chart pull --all
sup dashboard pull --all
git add assets/
git commit -m "Backup analytics assets"