lkr-dev-cli 0.0.42__tar.gz → 0.0.43__tar.gz
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.
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/PKG-INFO +1 -1
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr.md +98 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/pyproject.toml +2 -1
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/.github/workflows/ci.yml +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/.github/workflows/release.yml +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/.gitignore +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/.python-version +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/.vscode/launch.json +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/.vscode/settings.json +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/Dockerfile +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/LICENSE +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/Makefile +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/README.md +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/cloudbuild.yaml +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/codemode.md +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/__init__.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/auth/__init__.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/auth/main.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/auth/oauth.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/auth_service.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/classes.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/LOCAL.md +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/__init__.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/constant.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/download_swagger.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/examples.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/help.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/main.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/readme.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/swagger.json +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/codemode/type.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/constants.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/custom_types.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/exceptions.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/extended_sdk_methods/__init__.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/extended_sdk_methods/classes.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/extended_sdk_methods/main.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/logger.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/main.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/mcp/classes.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/mcp/main.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/mcp/utils.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/observability/classes.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/observability/embed_container.html +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/observability/main.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/observability/utils.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/tools/classes.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/tools/lookml.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/tools/main.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr/tools/permission_deprecation.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/lkr_dev_cli/__init__.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/TESTING.md +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_codemode.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_dependency_resolution.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_deps.sh +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_extended_sdk_methods.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_init_sdk.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_lookml_tools.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_oauth_account.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/tests/test_permission_deprecation.py +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/ty.toml +0 -0
- {lkr_dev_cli-0.0.42 → lkr_dev_cli-0.0.43}/uv.lock +0 -0
|
@@ -17,18 +17,32 @@ $ lkr [OPTIONS] COMMAND [ARGS]...
|
|
|
17
17
|
* `--quiet`
|
|
18
18
|
* `--force-oauth`
|
|
19
19
|
* `--dev`
|
|
20
|
+
* `--oauth-account TEXT`: OAuth account to lookup in DB and use regardless of what's active
|
|
20
21
|
* `--install-completion`: Install completion for the current shell.
|
|
21
22
|
* `--show-completion`: Show completion for the current shell, to copy it or customize the installation.
|
|
22
23
|
* `--help`: Show this message and exit.
|
|
23
24
|
|
|
24
25
|
**Commands**:
|
|
25
26
|
|
|
27
|
+
* `db-template`
|
|
26
28
|
* `auth`: Authentication commands for LookML Repository
|
|
27
29
|
* `mcp`
|
|
28
30
|
* `observability`
|
|
29
31
|
* `tools`
|
|
30
32
|
* `code-mode`
|
|
31
33
|
|
|
34
|
+
## `lkr db-template`
|
|
35
|
+
|
|
36
|
+
**Usage**:
|
|
37
|
+
|
|
38
|
+
```console
|
|
39
|
+
$ lkr db-template [OPTIONS]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Options**:
|
|
43
|
+
|
|
44
|
+
* `--import-error TEXT`: [default: No module named 'lkr.db_template.main']
|
|
45
|
+
|
|
32
46
|
## `lkr auth`
|
|
33
47
|
|
|
34
48
|
Authentication commands for LookML Repository
|
|
@@ -63,6 +77,7 @@ $ lkr auth login [OPTIONS]
|
|
|
63
77
|
**Options**:
|
|
64
78
|
|
|
65
79
|
* `-I, --instance-name TEXT`: Name of the Looker instance to login or switch to
|
|
80
|
+
* `-p, --port INTEGER RANGE`: Port to run the local OAuth redirect web server on [1<=x<=65535]
|
|
66
81
|
* `--help`: Show this message and exit.
|
|
67
82
|
|
|
68
83
|
### `lkr auth logout`
|
|
@@ -188,6 +203,7 @@ $ lkr tools [OPTIONS] COMMAND [ARGS]...
|
|
|
188
203
|
|
|
189
204
|
* `user-attribute-updater`
|
|
190
205
|
* `schedule-download-deprecation`: Build a table of users and their...
|
|
206
|
+
* `lookml`: LookML synchronization and deployment tools
|
|
191
207
|
|
|
192
208
|
### `lkr tools user-attribute-updater`
|
|
193
209
|
|
|
@@ -223,6 +239,88 @@ $ lkr tools schedule-download-deprecation [OPTIONS]
|
|
|
223
239
|
* `--email`: Use Email instead of Name
|
|
224
240
|
* `--help`: Show this message and exit.
|
|
225
241
|
|
|
242
|
+
### `lkr tools lookml`
|
|
243
|
+
|
|
244
|
+
LookML synchronization and deployment tools
|
|
245
|
+
|
|
246
|
+
**Usage**:
|
|
247
|
+
|
|
248
|
+
```console
|
|
249
|
+
$ lkr tools lookml [OPTIONS] COMMAND [ARGS]...
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Options**:
|
|
253
|
+
|
|
254
|
+
* `--help`: Show this message and exit.
|
|
255
|
+
|
|
256
|
+
**Commands**:
|
|
257
|
+
|
|
258
|
+
* `push`: Push local files to Looker, removing files...
|
|
259
|
+
* `pull`: Pull remote files from Looker to local...
|
|
260
|
+
* `deploy`: Commit dev workspace and deploy Looker...
|
|
261
|
+
|
|
262
|
+
#### `lkr tools lookml push`
|
|
263
|
+
|
|
264
|
+
Push local files to Looker, removing files on the instance that aren't being pushed.
|
|
265
|
+
|
|
266
|
+
**Usage**:
|
|
267
|
+
|
|
268
|
+
```console
|
|
269
|
+
$ lkr tools lookml push [OPTIONS] FOLDER_NAME
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
**Arguments**:
|
|
273
|
+
|
|
274
|
+
* `FOLDER_NAME`: Local folder name / Looker project ID to push [required]
|
|
275
|
+
|
|
276
|
+
**Options**:
|
|
277
|
+
|
|
278
|
+
* `--project-id, --project TEXT`: Looker project ID to push to (if different from folder name)
|
|
279
|
+
* `--deploy`: Commit and deploy to production after push
|
|
280
|
+
* `--message TEXT`: Commit message when deploying [default: push from lkr cli]
|
|
281
|
+
* `--help`: Show this message and exit.
|
|
282
|
+
|
|
283
|
+
#### `lkr tools lookml pull`
|
|
284
|
+
|
|
285
|
+
Pull remote files from Looker to local disk, removing local files that aren't on the instance.
|
|
286
|
+
|
|
287
|
+
**Usage**:
|
|
288
|
+
|
|
289
|
+
```console
|
|
290
|
+
$ lkr tools lookml pull [OPTIONS] FOLDER_NAME
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
**Arguments**:
|
|
294
|
+
|
|
295
|
+
* `FOLDER_NAME`: Local folder name / Looker project ID to pull into [required]
|
|
296
|
+
|
|
297
|
+
**Options**:
|
|
298
|
+
|
|
299
|
+
* `--project-id, --project TEXT`: Looker project ID to pull from (if different from folder name)
|
|
300
|
+
* `--deploy`: Commit and deploy to production on Looker after pull
|
|
301
|
+
* `--message TEXT`: Commit message when deploying [default: pull from lkr cli then commit and deploy]
|
|
302
|
+
* `--help`: Show this message and exit.
|
|
303
|
+
|
|
304
|
+
#### `lkr tools lookml deploy`
|
|
305
|
+
|
|
306
|
+
Commit dev workspace and deploy Looker project to production.
|
|
307
|
+
|
|
308
|
+
**Usage**:
|
|
309
|
+
|
|
310
|
+
```console
|
|
311
|
+
$ lkr tools lookml deploy [OPTIONS] [FOLDER_NAME]
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
**Arguments**:
|
|
315
|
+
|
|
316
|
+
* `[FOLDER_NAME]`: Local folder name / Looker project ID to deploy
|
|
317
|
+
|
|
318
|
+
**Options**:
|
|
319
|
+
|
|
320
|
+
* `--project-id, --project TEXT`: Looker project ID to deploy (if folder_name not specified)
|
|
321
|
+
* `--message TEXT`: Commit message [default: commit and deploy from lkr cli]
|
|
322
|
+
* `--help`: Show this message and exit.
|
|
323
|
+
|
|
226
324
|
## `lkr code-mode`
|
|
227
325
|
|
|
228
326
|
**Usage**:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "lkr-dev-cli"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.43"
|
|
4
4
|
description = "lkr: a command line interface for looker"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -46,6 +46,7 @@ all = [
|
|
|
46
46
|
|
|
47
47
|
[project.scripts]
|
|
48
48
|
lkr = "lkr.main:app"
|
|
49
|
+
lkr-dev-cli = "lkr.main:app"
|
|
49
50
|
|
|
50
51
|
[build-system]
|
|
51
52
|
requires = ["hatchling"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|