@bonnard/cli 0.2.15 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/bin/bon.mjs +384 -32
- package/dist/docs/topics/dashboards.md +21 -24
- package/dist/docs/topics/sdk.apexcharts.md +281 -0
- package/dist/docs/topics/sdk.authentication.md +130 -0
- package/dist/docs/topics/sdk.browser.md +181 -0
- package/dist/docs/topics/sdk.chartjs.md +327 -0
- package/dist/docs/topics/sdk.echarts.md +297 -0
- package/dist/docs/topics/sdk.md +95 -0
- package/dist/docs/topics/sdk.query-reference.md +307 -0
- package/dist/templates/claude/skills/bonnard-build-dashboard/SKILL.md +145 -0
- package/dist/templates/claude/skills/bonnard-get-started/SKILL.md +1 -1
- package/dist/templates/claude/skills/bonnard-metabase-migrate/SKILL.md +1 -1
- package/dist/templates/cursor/rules/bonnard-build-dashboard.mdc +144 -0
- package/dist/templates/cursor/rules/bonnard-get-started.mdc +1 -1
- package/dist/templates/cursor/rules/bonnard-metabase-migrate.mdc +1 -1
- package/dist/templates/shared/bonnard.md +7 -1
- package/dist/viewer.html +261 -0
- package/package.json +11 -2
|
@@ -29,7 +29,7 @@ bon datasource add --name my_warehouse --type postgres \
|
|
|
29
29
|
bon datasource add
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Supported types: `postgres`, `redshift`, `snowflake`, `bigquery`, `databricks`.
|
|
32
|
+
Supported types: `postgres`, `redshift`, `snowflake`, `bigquery`, `databricks`, `duckdb`.
|
|
33
33
|
|
|
34
34
|
The demo option adds a read-only Contoso retail dataset with tables like
|
|
35
35
|
`fact_sales`, `dim_product`, `dim_store`, and `dim_customer`.
|
|
@@ -64,7 +64,7 @@ bon datasource add --from-dbt
|
|
|
64
64
|
bon datasource add
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
Supported types: `postgres`, `redshift`, `snowflake`, `bigquery`, `databricks`.
|
|
67
|
+
Supported types: `postgres`, `redshift`, `snowflake`, `bigquery`, `databricks`, `duckdb`.
|
|
68
68
|
|
|
69
69
|
The connection will be tested automatically during `bon deploy`.
|
|
70
70
|
|
|
@@ -5,7 +5,7 @@ Bonnard is a semantic layer platform that sits between your data warehouse and e
|
|
|
5
5
|
## How It Works
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
Data Warehouse (Snowflake, Postgres, BigQuery, Databricks)
|
|
8
|
+
Data Warehouse (Snowflake, Postgres, BigQuery, Databricks, DuckDB)
|
|
9
9
|
↓
|
|
10
10
|
Cubes (measures, dimensions, joins)
|
|
11
11
|
↓
|
|
@@ -73,6 +73,11 @@ All tables are in the `contoso` schema. The datasource is named `contoso_demo`.
|
|
|
73
73
|
| `bon query '{...}'` | Query the deployed semantic layer (requires `bon deploy` first, not for raw DB access) |
|
|
74
74
|
| `bon mcp` | Show MCP setup instructions for AI agents |
|
|
75
75
|
| `bon docs` | Browse documentation |
|
|
76
|
+
| `bon dashboard dev <file>` | Preview a markdown dashboard locally with live reload |
|
|
77
|
+
| `bon dashboard deploy <file>` | Deploy a markdown or HTML dashboard |
|
|
78
|
+
| `bon dashboard list` | List deployed dashboards with URLs |
|
|
79
|
+
| `bon dashboard remove <slug>` | Remove a deployed dashboard |
|
|
80
|
+
| `bon dashboard open <slug>` | Open a deployed dashboard in the browser |
|
|
76
81
|
| `bon metabase connect` | Connect to a Metabase instance (API key) |
|
|
77
82
|
| `bon metabase analyze` | Generate analysis report for semantic layer planning |
|
|
78
83
|
| `bon metabase explore` | Browse Metabase databases, collections, cards, dashboards |
|
|
@@ -110,6 +115,7 @@ Topics follow dot notation (e.g., `cubes.dimensions.time`). Use `--recursive` to
|
|
|
110
115
|
For a guided walkthrough: `/bonnard-get-started`
|
|
111
116
|
For projects migrating from Metabase: `/bonnard-metabase-migrate`
|
|
112
117
|
For design principles: `/bonnard-design-guide`
|
|
118
|
+
For building markdown dashboards: `/bonnard-build-dashboard` (see also `bon docs dashboards`)
|
|
113
119
|
|
|
114
120
|
## Deployment & Change Tracking
|
|
115
121
|
|