mirror of https://github.com/databricks/cli.git
1896b09350
## Changes This change adds the `databricks bundle generate dashboard` command. The command requires one of three flags: * `--existing-id` to generate configuration for an existing dashboard by its ID. * `--existing-path` to generate configuration for an existing dashboard by its path in the workspace file system. * `--resource` to generate the `.lvdash.json` dashboard file for a dashboard that's already defined in the bundle. This option does not impact the YAML configuration. A typical workflow could look like this: 1. Use the command with `--existing-id` or `--existing-path` for a starting point 2. Run `bundle deploy` to deploy a copy of the dashboard 3. Run `bundle open` to open this copy in your browser 4. Navigate to the draft mode and make modifications 5. Run `bundle generate dashboard` with `--resource` to update the local `.lvdash.json` file with the remote modifications ## Tests * Unit tests. * Manual walkthrough as documented in the [Dashboard for NYC Taxi Trip Analysis example](https://github.com/databricks/bundle-examples/tree/main/knowledge_base/dashboard_nyc_taxi). |
||
---|---|---|
.. | ||
debug | ||
deployment | ||
generate | ||
utils | ||
bundle.go | ||
debug.go | ||
deploy.go | ||
destroy.go | ||
generate.go | ||
init.go | ||
init_test.go | ||
launch.go | ||
open.go | ||
run.go | ||
schema.go | ||
summary.go | ||
sync.go | ||
test.go | ||
validate.go | ||
variables.go |