-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlabs.yml
36 lines (35 loc) · 1.53 KB
/
labs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: lsql
description: Lightweight SQL execution wrapper only on top of Databricks SDK
entrypoint: src/databricks/labs/lsql/cli.py
install:
script: src/databricks/labs/lsql/__about__.py
min_python: 3.10
commands:
- name: fmt
is_unauthenticated: true
description: Format SQL files in the given folder
flags:
- name: folder
description: The folder with SQL files. By default, the current working directory.
- name: normalize-case
description: If the query text should be normalized to lower case.
- name: exclude
description: Path to exclude from formatting.
- name: create-dashboard
description: Create an unpublished dashboard from code, see [docs](./docs/dashboards.md).
flags:
- name: folder
description: The folder with dashboard files. By default, the current working directory.
- name: catalog
description: |
Overwrite the catalog in the queries' `FROM` clauses with given value.
Useful when developing with separate catalogs, for example, for production and development.
- name: database
description: |
Overwrite the database in the queries' `FROM` clauses with given value.
Useful when developing with separate databases, for example, for production and development.
- name: publish
description: Publish the dashboard after creating by setting to `yes` or `y`.
- name: open-browser
description: Open the dashboard in the browser after creating by setting to `yes` or `y`.