bigeye-cli 0.3.64__tar.gz → 0.3.66__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.
Files changed (35) hide show
  1. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/PKG-INFO +60 -23
  2. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/CLI_DOCS.md +59 -22
  3. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/catalog/catalog_commands.py +567 -585
  4. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/functions.py +72 -5
  5. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/workspace/workspace_commands.py +164 -131
  6. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/pyproject.toml +1 -1
  7. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/LICENSE +0 -0
  8. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/__init__.py +0 -0
  9. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/__main__.py +0 -0
  10. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/__version__.py +0 -0
  11. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/bigconfig/__init__.py +0 -0
  12. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/bigconfig/bigconfig_commands.py +0 -0
  13. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/bigconfig/bigconfig_options.py +0 -0
  14. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/catalog/__init__.py +0 -0
  15. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/collections/__init__.py +0 -0
  16. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/collections/collection_commands.py +0 -0
  17. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/configure/__init__.py +0 -0
  18. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/configure/configure_commands.py +0 -0
  19. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/deltas/__init__.py +0 -0
  20. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/deltas/deltas_commands.py +0 -0
  21. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/enums.py +0 -0
  22. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/exceptions/__init__.py +0 -0
  23. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/exceptions/exceptions.py +0 -0
  24. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/global_options.py +0 -0
  25. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/issues/__init__.py +0 -0
  26. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/issues/issue_commands.py +0 -0
  27. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/lineage/__init__.py +0 -0
  28. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/lineage/lineage_commands.py +0 -0
  29. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/metric/__init__.py +0 -0
  30. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/metric/metric_commands.py +0 -0
  31. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/model/__init__.py +0 -0
  32. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/model/cicd_conf.py +0 -0
  33. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/model/github_report.py +0 -0
  34. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/model/vendor_report.py +0 -0
  35. {bigeye_cli-0.3.64 → bigeye_cli-0.3.66}/bigeye_cli/workspace/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bigeye-cli
3
- Version: 0.3.64
3
+ Version: 0.3.66
4
4
  Summary: Bigeye CLI offers developer tools for maintaining your developer workspace.
5
5
  Home-page: https://docs.bigeye.com/docs
6
6
  License: Proprietary
@@ -19,7 +19,7 @@ Requires-Dist: rich (>=12.4.4,<13.0.0)
19
19
  Description-Content-Type: text/markdown
20
20
 
21
21
  # **Bigeye CLI**
22
- Version: 0.3.64
22
+ Version: 0.3.66
23
23
  ## Installation
24
24
 
25
25
  **Setting up your local/build environment**
@@ -298,11 +298,12 @@ $ bigeye workspace [OPTIONS] COMMAND [ARGS]...
298
298
  * `delete-workspace`: Delete a workspace.
299
299
  * `edit-group-access`: Edit the workspaces that a group can access.
300
300
  * `edit-user`: Edit an existing user's access to groups.
301
+ * `export-named-schedule`: Export cron schedule to yaml file
301
302
  * `invite-user`: Invite a user to a workspace.
302
303
  * `schedule-all-metrics`: Schedule all metrics in a workspace.
303
304
  * `unschedule-all-metrics`: Unschedule all metrics in a workspace.
304
305
  * `upsert-group`: Create or update a group.
305
- * `upsert-named-schedule`: Create a named, cron based schedule
306
+ * `upsert-named-schedule`: Create a named, cron based schedule.
306
307
  * `upsert-workspace`: Create or update a workspace.
307
308
 
308
309
  ## `bigeye workspace create-named-schedule`
@@ -446,6 +447,25 @@ GROUP_USER_OPERATION_ADD:1
446
447
  GROUP_USER_OPERATION_REMOVE:2 [default: 1]
447
448
  * `--help`: Show this message and exit.
448
449
 
450
+ ## `bigeye workspace export-named-schedule`
451
+
452
+ Export cron schedule to yaml file
453
+
454
+ **Usage**:
455
+
456
+ ```console
457
+ $ bigeye workspace export-named-schedule [OPTIONS]
458
+ ```
459
+
460
+ **Options**:
461
+
462
+ * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
463
+ * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
464
+ * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
465
+ * `-sn, --name TEXT`: The name of the schedule(s) to export. None means all
466
+ * `-op, --output_path TEXT`: Path to output files. None means current directory
467
+ * `--help`: Show this message and exit.
468
+
449
469
  ## `bigeye workspace invite-user`
450
470
 
451
471
  Invite a user to a workspace.
@@ -531,7 +551,7 @@ $ bigeye workspace upsert-group [OPTIONS]
531
551
 
532
552
  ## `bigeye workspace upsert-named-schedule`
533
553
 
534
- Create a named, cron based schedule
554
+ Create a named, cron based schedule. Files have priority over arguments
535
555
 
536
556
  **Usage**:
537
557
 
@@ -544,8 +564,9 @@ $ bigeye workspace upsert-named-schedule [OPTIONS]
544
564
  * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
545
565
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
546
566
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
547
- * `-sn, --name TEXT`: The user defined name of the schedule [required]
548
- * `-c, --cron TEXT`: The cron string to define the schedule [required]
567
+ * `-sn, --name TEXT`: The user defined name of the schedule
568
+ * `-c, --cron TEXT`: The cron string to define the schedule
569
+ * `-sf, --schedule_file TEXT`: A yaml file containing a schedule definition.
549
570
  * `--help`: Show this message and exit.
550
571
 
551
572
  ## `bigeye workspace upsert-workspace`
@@ -687,7 +708,8 @@ $ bigeye catalog [OPTIONS] COMMAND [ARGS]...
687
708
  * `delete-source`: Delete a source from specified Bigeye...
688
709
  * `delete-template`: Delete a template.
689
710
  * `delete-virtual-table`: Delete a virtual table.
690
- * `deploy-all-autometrics`: Deploys all Autometrics to specified...
711
+ * `export-metric-template`: Export metric templates to yaml files
712
+ * `export-virtual-table`: Export virtual table to yaml file
691
713
  * `get-all-metric-templates`: Retrieve all metric templates and output...
692
714
  * `get-metric-info`: Outputs metric info to a file.
693
715
  * `get-metric-queries`: Gets the debug queries for all metrics by...
@@ -842,18 +864,17 @@ $ bigeye catalog delete-virtual-table [OPTIONS]
842
864
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
843
865
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
844
866
  * `-vtn, --table_name TEXT`: The name of the virtual table [required]
845
- * `-sn, --source_name TEXT`: The name of the source where the template will be defined [required]
867
+ * `-sn, --source_name TEXT`: The name of the source that contains the virtual table [required]
846
868
  * `--help`: Show this message and exit.
847
869
 
848
- ## `bigeye catalog deploy-all-autometrics`
870
+ ## `bigeye catalog export-metric-template`
849
871
 
850
- Deploys all Autometrics to specified warehouse OR warehouse and list of schema names OR warehouse and list of
851
- table ids.
872
+ Export metric templates to yaml files
852
873
 
853
874
  **Usage**:
854
875
 
855
876
  ```console
856
- $ bigeye catalog deploy-all-autometrics [OPTIONS]
877
+ $ bigeye catalog export-metric-template [OPTIONS]
857
878
  ```
858
879
 
859
880
  **Options**:
@@ -861,11 +882,27 @@ $ bigeye catalog deploy-all-autometrics [OPTIONS]
861
882
  * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
862
883
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
863
884
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
864
- * `-wid, --warehouse_id INTEGER`: Deploy autometrics to all tables in warehouse.
865
- * `-sn, --schema_name TEXT`: List of Schema Names. E.g. -sn schema_1 -sn schema_2.
866
- * `-tid, --table_id INTEGER`: Table IDs. E.g. -tid 123 -tid 124
867
- * `-lbd, --lookback_days INTEGER`: Look back days for the metrics. [default: 7]
868
- * `--ops_only`: Deploy only operational metrics [default: True]
885
+ * `-tn, --name TEXT`: The name of the template(s) to export. None means all
886
+ * `-op, --output_path TEXT`: Path to output files. None means current directory
887
+ * `--help`: Show this message and exit.
888
+
889
+ ## `bigeye catalog export-virtual-table`
890
+
891
+ Export virtual table to yaml file
892
+
893
+ **Usage**:
894
+
895
+ ```console
896
+ $ bigeye catalog export-virtual-table [OPTIONS]
897
+ ```
898
+
899
+ **Options**:
900
+
901
+ * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
902
+ * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
903
+ * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
904
+ * `-vtn, --name TEXT`: The name of the virtual table(s) to export. None means all
905
+ * `-op, --output_path TEXT`: Path to output files. None means current directory
869
906
  * `--help`: Show this message and exit.
870
907
 
871
908
  ## `bigeye catalog get-all-metric-templates`
@@ -1177,7 +1214,7 @@ $ bigeye catalog unset-metric-time [OPTIONS]
1177
1214
 
1178
1215
  ## `bigeye catalog upsert-template`
1179
1216
 
1180
- Create or update a template for a source.
1217
+ Create or update a template for a source. Files have priority over arguments
1181
1218
 
1182
1219
  **Usage**:
1183
1220
 
@@ -1195,13 +1232,12 @@ $ bigeye catalog upsert-template [OPTIONS]
1195
1232
  * `-tb, --body TEXT`: The string to define the template
1196
1233
  * `-rt, --returns [BOOLEAN|NUMERIC]`: The data type returned by the template; i.e. NUMERIC, BOOLEAN
1197
1234
  * `-p, --params TEXT`: A list of key/value pairs for parameters; ex. -p column=COLUMN_REFERENCE -p table=STRING
1198
- * `-id, --template_id INTEGER`: The template ID (Only required when updating a template). [default: 0]
1199
1235
  * `-tf, --template_file TEXT`: A file containing a template definition.
1200
1236
  * `--help`: Show this message and exit.
1201
1237
 
1202
1238
  ## `bigeye catalog upsert-virtual-table`
1203
1239
 
1204
- Create or update a virtual table.
1240
+ Create or update a virtual table. Files have priority over arguments
1205
1241
 
1206
1242
  **Usage**:
1207
1243
 
@@ -1214,10 +1250,11 @@ $ bigeye catalog upsert-virtual-table [OPTIONS]
1214
1250
  * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
1215
1251
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
1216
1252
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
1217
- * `-vtn, --table_name TEXT`: The name of the virtual table [required]
1218
- * `-s, --sql TEXT`: The SQL to define the table [required]
1219
- * `-sn, --source_name TEXT`: The name of the source where the virtual table will be defined [required]
1253
+ * `-vtn, --table_name TEXT`: The name of the virtual table
1254
+ * `-s, --sql TEXT`: The SQL to define the table
1255
+ * `-sn, --source_name TEXT`: The name of the source where the virtual table will be defined
1220
1256
  * `-u, --update`: Create if false. Update if true.
1257
+ * `-tf, --table_file TEXT`: A yaml file containing a template definition.
1221
1258
  * `--help`: Show this message and exit.
1222
1259
 
1223
1260
  # `bigeye metric`
@@ -1,5 +1,5 @@
1
1
  # **Bigeye CLI**
2
- Version: 0.3.64
2
+ Version: 0.3.66
3
3
  ## Installation
4
4
 
5
5
  **Setting up your local/build environment**
@@ -278,11 +278,12 @@ $ bigeye workspace [OPTIONS] COMMAND [ARGS]...
278
278
  * `delete-workspace`: Delete a workspace.
279
279
  * `edit-group-access`: Edit the workspaces that a group can access.
280
280
  * `edit-user`: Edit an existing user's access to groups.
281
+ * `export-named-schedule`: Export cron schedule to yaml file
281
282
  * `invite-user`: Invite a user to a workspace.
282
283
  * `schedule-all-metrics`: Schedule all metrics in a workspace.
283
284
  * `unschedule-all-metrics`: Unschedule all metrics in a workspace.
284
285
  * `upsert-group`: Create or update a group.
285
- * `upsert-named-schedule`: Create a named, cron based schedule
286
+ * `upsert-named-schedule`: Create a named, cron based schedule.
286
287
  * `upsert-workspace`: Create or update a workspace.
287
288
 
288
289
  ## `bigeye workspace create-named-schedule`
@@ -426,6 +427,25 @@ GROUP_USER_OPERATION_ADD:1
426
427
  GROUP_USER_OPERATION_REMOVE:2 [default: 1]
427
428
  * `--help`: Show this message and exit.
428
429
 
430
+ ## `bigeye workspace export-named-schedule`
431
+
432
+ Export cron schedule to yaml file
433
+
434
+ **Usage**:
435
+
436
+ ```console
437
+ $ bigeye workspace export-named-schedule [OPTIONS]
438
+ ```
439
+
440
+ **Options**:
441
+
442
+ * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
443
+ * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
444
+ * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
445
+ * `-sn, --name TEXT`: The name of the schedule(s) to export. None means all
446
+ * `-op, --output_path TEXT`: Path to output files. None means current directory
447
+ * `--help`: Show this message and exit.
448
+
429
449
  ## `bigeye workspace invite-user`
430
450
 
431
451
  Invite a user to a workspace.
@@ -511,7 +531,7 @@ $ bigeye workspace upsert-group [OPTIONS]
511
531
 
512
532
  ## `bigeye workspace upsert-named-schedule`
513
533
 
514
- Create a named, cron based schedule
534
+ Create a named, cron based schedule. Files have priority over arguments
515
535
 
516
536
  **Usage**:
517
537
 
@@ -524,8 +544,9 @@ $ bigeye workspace upsert-named-schedule [OPTIONS]
524
544
  * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
525
545
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
526
546
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
527
- * `-sn, --name TEXT`: The user defined name of the schedule [required]
528
- * `-c, --cron TEXT`: The cron string to define the schedule [required]
547
+ * `-sn, --name TEXT`: The user defined name of the schedule
548
+ * `-c, --cron TEXT`: The cron string to define the schedule
549
+ * `-sf, --schedule_file TEXT`: A yaml file containing a schedule definition.
529
550
  * `--help`: Show this message and exit.
530
551
 
531
552
  ## `bigeye workspace upsert-workspace`
@@ -667,7 +688,8 @@ $ bigeye catalog [OPTIONS] COMMAND [ARGS]...
667
688
  * `delete-source`: Delete a source from specified Bigeye...
668
689
  * `delete-template`: Delete a template.
669
690
  * `delete-virtual-table`: Delete a virtual table.
670
- * `deploy-all-autometrics`: Deploys all Autometrics to specified...
691
+ * `export-metric-template`: Export metric templates to yaml files
692
+ * `export-virtual-table`: Export virtual table to yaml file
671
693
  * `get-all-metric-templates`: Retrieve all metric templates and output...
672
694
  * `get-metric-info`: Outputs metric info to a file.
673
695
  * `get-metric-queries`: Gets the debug queries for all metrics by...
@@ -822,18 +844,17 @@ $ bigeye catalog delete-virtual-table [OPTIONS]
822
844
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
823
845
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
824
846
  * `-vtn, --table_name TEXT`: The name of the virtual table [required]
825
- * `-sn, --source_name TEXT`: The name of the source where the template will be defined [required]
847
+ * `-sn, --source_name TEXT`: The name of the source that contains the virtual table [required]
826
848
  * `--help`: Show this message and exit.
827
849
 
828
- ## `bigeye catalog deploy-all-autometrics`
850
+ ## `bigeye catalog export-metric-template`
829
851
 
830
- Deploys all Autometrics to specified warehouse OR warehouse and list of schema names OR warehouse and list of
831
- table ids.
852
+ Export metric templates to yaml files
832
853
 
833
854
  **Usage**:
834
855
 
835
856
  ```console
836
- $ bigeye catalog deploy-all-autometrics [OPTIONS]
857
+ $ bigeye catalog export-metric-template [OPTIONS]
837
858
  ```
838
859
 
839
860
  **Options**:
@@ -841,11 +862,27 @@ $ bigeye catalog deploy-all-autometrics [OPTIONS]
841
862
  * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
842
863
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
843
864
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
844
- * `-wid, --warehouse_id INTEGER`: Deploy autometrics to all tables in warehouse.
845
- * `-sn, --schema_name TEXT`: List of Schema Names. E.g. -sn schema_1 -sn schema_2.
846
- * `-tid, --table_id INTEGER`: Table IDs. E.g. -tid 123 -tid 124
847
- * `-lbd, --lookback_days INTEGER`: Look back days for the metrics. [default: 7]
848
- * `--ops_only`: Deploy only operational metrics [default: True]
865
+ * `-tn, --name TEXT`: The name of the template(s) to export. None means all
866
+ * `-op, --output_path TEXT`: Path to output files. None means current directory
867
+ * `--help`: Show this message and exit.
868
+
869
+ ## `bigeye catalog export-virtual-table`
870
+
871
+ Export virtual table to yaml file
872
+
873
+ **Usage**:
874
+
875
+ ```console
876
+ $ bigeye catalog export-virtual-table [OPTIONS]
877
+ ```
878
+
879
+ **Options**:
880
+
881
+ * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
882
+ * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
883
+ * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
884
+ * `-vtn, --name TEXT`: The name of the virtual table(s) to export. None means all
885
+ * `-op, --output_path TEXT`: Path to output files. None means current directory
849
886
  * `--help`: Show this message and exit.
850
887
 
851
888
  ## `bigeye catalog get-all-metric-templates`
@@ -1157,7 +1194,7 @@ $ bigeye catalog unset-metric-time [OPTIONS]
1157
1194
 
1158
1195
  ## `bigeye catalog upsert-template`
1159
1196
 
1160
- Create or update a template for a source.
1197
+ Create or update a template for a source. Files have priority over arguments
1161
1198
 
1162
1199
  **Usage**:
1163
1200
 
@@ -1175,13 +1212,12 @@ $ bigeye catalog upsert-template [OPTIONS]
1175
1212
  * `-tb, --body TEXT`: The string to define the template
1176
1213
  * `-rt, --returns [BOOLEAN|NUMERIC]`: The data type returned by the template; i.e. NUMERIC, BOOLEAN
1177
1214
  * `-p, --params TEXT`: A list of key/value pairs for parameters; ex. -p column=COLUMN_REFERENCE -p table=STRING
1178
- * `-id, --template_id INTEGER`: The template ID (Only required when updating a template). [default: 0]
1179
1215
  * `-tf, --template_file TEXT`: A file containing a template definition.
1180
1216
  * `--help`: Show this message and exit.
1181
1217
 
1182
1218
  ## `bigeye catalog upsert-virtual-table`
1183
1219
 
1184
- Create or update a virtual table.
1220
+ Create or update a virtual table. Files have priority over arguments
1185
1221
 
1186
1222
  **Usage**:
1187
1223
 
@@ -1194,10 +1230,11 @@ $ bigeye catalog upsert-virtual-table [OPTIONS]
1194
1230
  * `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
1195
1231
  * `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
1196
1232
  * `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
1197
- * `-vtn, --table_name TEXT`: The name of the virtual table [required]
1198
- * `-s, --sql TEXT`: The SQL to define the table [required]
1199
- * `-sn, --source_name TEXT`: The name of the source where the virtual table will be defined [required]
1233
+ * `-vtn, --table_name TEXT`: The name of the virtual table
1234
+ * `-s, --sql TEXT`: The SQL to define the table
1235
+ * `-sn, --source_name TEXT`: The name of the source where the virtual table will be defined
1200
1236
  * `-u, --update`: Create if false. Update if true.
1237
+ * `-tf, --table_file TEXT`: A yaml file containing a template definition.
1201
1238
  * `--help`: Show this message and exit.
1202
1239
 
1203
1240
  # `bigeye metric`