pyegeria 5.3.1.dev1__py3-none-any.whl → 5.3.3__py3-none-any.whl

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 (92) hide show
  1. pyegeria/.DS_Store +0 -0
  2. pyegeria/_client.py +1 -1
  3. pyegeria/automated_curation_omvs.py +1 -1
  4. pyegeria/classification_manager_omvs.py +4 -4
  5. pyegeria/commands/.DS_Store +0 -0
  6. pyegeria/commands/cat/exp_list_glossaries.py +1 -1
  7. pyegeria/commands/cat/get_asset_graph.py +1 -1
  8. pyegeria/commands/cat/get_collection.py +1 -1
  9. pyegeria/commands/cat/get_project_dependencies.py +1 -1
  10. pyegeria/commands/cat/get_project_structure.py +1 -1
  11. pyegeria/commands/cat/get_tech_type_elements.py +1 -1
  12. pyegeria/commands/cat/glossary_actions.py +3 -4
  13. pyegeria/commands/cat/list_assets.py +1 -1
  14. pyegeria/commands/cat/list_cert_types.py +1 -1
  15. pyegeria/commands/cat/list_collections.py +1 -1
  16. pyegeria/commands/cat/list_deployed_catalogs.py +1 -1
  17. pyegeria/commands/cat/list_deployed_database_schemas.py +1 -1
  18. pyegeria/commands/cat/list_deployed_databases.py +1 -1
  19. pyegeria/commands/cat/list_glossaries.py +1 -1
  20. pyegeria/commands/cat/list_projects.py +1 -1
  21. pyegeria/commands/cat/list_servers_deployed_imp.py +1 -1
  22. pyegeria/commands/cat/list_tech_type_elements.py +1 -1
  23. pyegeria/commands/cat/list_tech_types.py +1 -1
  24. pyegeria/commands/cat/list_terms.py +1 -1
  25. pyegeria/commands/cat/list_todos.py +1 -1
  26. pyegeria/commands/cat/list_user_ids.py +1 -1
  27. pyegeria/commands/cli/egeria.py +221 -85
  28. pyegeria/commands/cli/egeria_cat.py +3 -21
  29. pyegeria/commands/cli/egeria_login_tui.py +1 -1
  30. pyegeria/commands/cli/egeria_my.py +10 -0
  31. pyegeria/commands/cli/egeria_ops.py +19 -9
  32. pyegeria/commands/cli/egeria_tech.py +258 -139
  33. pyegeria/commands/cli/ops_config.py +0 -1
  34. pyegeria/commands/doc/.DS_Store +0 -0
  35. pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
  36. pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
  37. pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
  38. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
  39. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  40. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  41. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  42. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
  43. pyegeria/commands/my/list_my_profile.py +1 -1
  44. pyegeria/commands/my/list_my_roles.py +1 -1
  45. pyegeria/commands/my/monitor_my_todos.py +1 -1
  46. pyegeria/commands/my/monitor_open_todos.py +1 -1
  47. pyegeria/commands/my/todo_actions.py +1 -1
  48. pyegeria/commands/ops/list_archives.py +1 -1
  49. pyegeria/commands/ops/list_catalog_targets.py +1 -1
  50. pyegeria/commands/ops/load_archive.py +1 -1
  51. pyegeria/commands/ops/monitor_asset_events.py +1 -1
  52. pyegeria/commands/ops/monitor_engine_activity.py +1 -1
  53. pyegeria/commands/ops/monitor_gov_eng_status.py +1 -1
  54. pyegeria/commands/ops/monitor_integ_daemon_status.py +10 -10
  55. pyegeria/commands/ops/monitor_platform_status.py +1 -1
  56. pyegeria/commands/ops/monitor_server_startup.py +1 -1
  57. pyegeria/commands/ops/monitor_server_status.py +1 -1
  58. pyegeria/commands/ops/orig_monitor_server_list.py +1 -1
  59. pyegeria/commands/ops/orig_monitor_server_status.py +1 -1
  60. pyegeria/commands/ops/refresh_integration_daemon.py +1 -1
  61. pyegeria/commands/ops/restart_integration_daemon.py +1 -1
  62. pyegeria/commands/ops/table_integ_daemon_status.py +1 -1
  63. pyegeria/commands/tech/get_element_info.py +1 -1
  64. pyegeria/commands/tech/get_guid_info.py +1 -1
  65. pyegeria/commands/tech/get_tech_details.py +1 -1
  66. pyegeria/commands/tech/get_tech_type_template.py +1 -1
  67. pyegeria/commands/tech/{list_elements.py → list_all_om_type_elements.py} +2 -2
  68. pyegeria/commands/tech/{list_elements_x.py → list_all_om_type_elements_x.py} +2 -2
  69. pyegeria/commands/tech/{list_related_elements.py → list_all_related_elements.py} +1 -1
  70. pyegeria/commands/tech/list_anchored_elements.py +1 -1
  71. pyegeria/commands/tech/list_asset_types.py +1 -1
  72. pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +186 -0
  73. pyegeria/commands/tech/list_elements_by_property_value.py +175 -0
  74. pyegeria/commands/tech/list_elements_by_property_value_x.py +196 -0
  75. pyegeria/commands/tech/list_elements_for_classification.py +1 -1
  76. pyegeria/commands/tech/list_gov_action_processes.py +1 -1
  77. pyegeria/commands/tech/list_registered_services.py +1 -1
  78. pyegeria/commands/tech/list_related_elements_with_prop_value.py +207 -0
  79. pyegeria/commands/tech/list_related_specification.py +1 -1
  80. pyegeria/commands/tech/list_relationship_types.py +1 -1
  81. pyegeria/commands/tech/list_relationships.py +1 -1
  82. pyegeria/commands/tech/list_tech_templates.py +1 -1
  83. pyegeria/commands/tech/list_valid_metadata_values.py +1 -1
  84. pyegeria/commands/tech/table_tech_templates.py +1 -1
  85. pyegeria/commands/tech/x_list_related_elements.py +1 -1
  86. pyegeria/mermaid_utilities.py +1 -1
  87. pyegeria/valid_metadata_omvs.py +1 -1
  88. {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/METADATA +10 -10
  89. {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/RECORD +92 -77
  90. {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/entry_points.txt +7 -2
  91. {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/LICENSE +0 -0
  92. {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/WHEEL +0 -0
@@ -29,7 +29,6 @@ from pyegeria.commands.cat.list_cert_types import display_certifications
29
29
  from pyegeria.commands.cat.list_terms import display_glossary_terms
30
30
  from pyegeria.commands.cat.list_projects import display_project_list
31
31
  from pyegeria.commands.tech.list_anchored_elements import display_anchored_elements
32
- from pyegeria.commands.tech.list_elements_x import list_elements_x
33
32
  from pyegeria.commands.tech.list_relationships import list_relationships
34
33
  from pyegeria.commands.cat.list_tech_types import display_tech_types
35
34
  from pyegeria.commands.cat.list_todos import display_to_dos as list_todos
@@ -99,12 +98,19 @@ from pyegeria.commands.tech.list_asset_types import display_asset_types
99
98
  from pyegeria.commands.tech.list_elements_for_classification import (
100
99
  list_classified_elements,
101
100
  )
102
- from pyegeria.commands.tech.list_elements import list_elements
101
+ from pyegeria.commands.tech.list_all_om_type_elements import list_elements
102
+ from pyegeria.commands.tech.list_all_om_type_elements_x import list_elements_x
103
+ from pyegeria.commands.tech.list_elements_by_classification_by_property_value import find_elements_by_classification_by_prop_value
104
+ from pyegeria.commands.tech.list_elements_by_property_value import find_elements_by_prop_value
105
+ from pyegeria.commands.tech.list_elements_by_property_value_x import find_elements_by_prop_value_x
106
+ from pyegeria.commands.tech.list_related_elements_with_prop_value import list_related_elements_with_prop_value
107
+
108
+
103
109
  from pyegeria.commands.tech.list_registered_services import display_registered_svcs
104
110
  from pyegeria.commands.tech.list_related_specification import (
105
111
  display_related_specification,
106
112
  )
107
- from pyegeria.commands.tech.list_related_elements import list_related_elements
113
+ from pyegeria.commands.tech.list_all_related_elements import list_related_elements
108
114
 
109
115
  from pyegeria.commands.tech.list_relationship_types import display_relationship_types
110
116
  from pyegeria.commands.tech.list_tech_templates import display_templates_spec
@@ -382,7 +388,7 @@ def show_guid_info(ctx, guid):
382
388
  @show_elements.command("anchored_elements")
383
389
  @click.pass_context
384
390
  @click.option(
385
- "--search-string",
391
+ "--property_value",
386
392
  default="DeployedDatabaseSchema",
387
393
  help="value we are searching for",
388
394
  )
@@ -392,7 +398,7 @@ def show_guid_info(ctx, guid):
392
398
  help="List of properties we are searching",
393
399
  )
394
400
  def list_anchored_elements(ctx, search_string: str, prop_list: str):
395
- """List elements with the specified properties"""
401
+ """List anchored elements with the specified properties"""
396
402
  c = ctx.obj
397
403
  if type(prop_list) is str:
398
404
  property_names = prop_list.split(",")
@@ -414,6 +420,191 @@ def list_anchored_elements(ctx, search_string: str, prop_list: str):
414
420
  c.width,
415
421
  )
416
422
 
423
+ @show_elements.command("elements-by-classification")
424
+ @click.option(
425
+ "--om-type",
426
+ default="Project",
427
+ help="Open Metadata type to filter by",
428
+ )
429
+ @click.option(
430
+ "--classification",
431
+ default="GovernanceProject",
432
+ help="Classification to filter byt",
433
+ )
434
+ @click.pass_context
435
+ def show_elements_by_classification(ctx, om_type, classification):
436
+ """Show elements by classification"""
437
+ c = ctx.obj
438
+ list_classified_elements(
439
+ om_type,
440
+ classification,
441
+ c.view_server,
442
+ c.view_server_url,
443
+ c.userid,
444
+ c.password,
445
+ c.jupyter,
446
+ c.width,
447
+ )
448
+
449
+ @show_elements.command("elements-by-classification-by-prop-value")
450
+ @click.option(
451
+ "--classification",
452
+ default="GovernanceProject",
453
+ help="Classification to filter by",
454
+ )
455
+ @click.option(
456
+ "--property_value",
457
+ help="Property value to filter by",
458
+ )
459
+ @click.option(
460
+ "--property_names",
461
+ help="List of properties to search by",
462
+ )
463
+ @click.option(
464
+ "--om-type",
465
+ default="Project",
466
+ help="Open Metadata type to filter by",
467
+ )
468
+ @click.pass_context
469
+ def show_elements_by_classification_by_prop(ctx, classification, property_value, property_names, om_type):
470
+ """Show elements by classification and property value"""
471
+ c = ctx.obj
472
+ find_elements_by_classification_by_prop_value(
473
+ om_type,
474
+ classification,
475
+ property_value,
476
+ [property_names],
477
+ c.view_server,
478
+ c.view_server_url,
479
+ c.userid,
480
+ c.password,
481
+ c.jupyter,
482
+ c.width,
483
+ )
484
+
485
+ @show_elements.command("elements-by-prop-value")
486
+ @click.option(
487
+ "--property_value",
488
+ help="Property value to filter by",
489
+ )
490
+ @click.option(
491
+ "--property_names",
492
+ help="List of properties to search by",
493
+ )
494
+ @click.option(
495
+ "--om-type",
496
+ default="Project",
497
+ help="Open Metadata type to filter by",
498
+ )
499
+ @click.option(
500
+ "--extended",
501
+ is_flag=True,
502
+ default=False,
503
+ help="If True, feedback information is displayed",
504
+ )
505
+ @click.pass_context
506
+ def show_elements_by_classification_by_prop(ctx,property_value, property_names, om_type, extended):
507
+ """Show elements by classification and property value"""
508
+ c = ctx.obj
509
+ if extended:
510
+ find_elements_by_prop_value_x(
511
+ om_type,
512
+ property_value,
513
+ [property_names],
514
+ c.view_server,
515
+ c.view_server_url,
516
+ c.userid,
517
+ c.password,
518
+ c.jupyter,
519
+ c.width,
520
+ )
521
+ else:
522
+ find_elements_by_prop_value(
523
+ om_type,
524
+ property_value,
525
+ [property_names],
526
+ c.view_server,
527
+ c.view_server_url,
528
+ c.userid,
529
+ c.password,
530
+ c.jupyter,
531
+ c.width,
532
+ )
533
+
534
+ @show_elements.command("related-elements")
535
+ @click.option(
536
+ "--element-guid",
537
+ help="GUID of the Element to navigate from.",
538
+ )
539
+ @click.option(
540
+ "--om-type",
541
+ default="Project",
542
+ help="Open metadata type to filter by.",
543
+ )
544
+ @click.option(
545
+ "--rel-type",
546
+ default="Certification",
547
+ help="Relationship type to follow.",
548
+ )
549
+ @click.pass_context
550
+ def show_related_elements(ctx, element_guid, om_type, rel_type):
551
+ """Show all elements related to specified guid"""
552
+ c = ctx.obj
553
+ list_related_elements(
554
+ element_guid,
555
+ om_type,
556
+ rel_type,
557
+ c.view_server,
558
+ c.view_server_url,
559
+ c.userid,
560
+ c.password,
561
+ c.jupyter,
562
+ c.width,
563
+ )
564
+
565
+
566
+ @show_elements.command("related-elements_by_prop")
567
+ @click.option(
568
+ "--element-guid",
569
+ help="GUID of the Element to navigate from.",
570
+ )
571
+ @click.option(
572
+ "--rel-type",
573
+ default="Certification",
574
+ help="Relationship type to follow.",
575
+ )
576
+ @click.option(
577
+ "--property_value",
578
+ help="Property value to filter by",
579
+ )
580
+ @click.option(
581
+ "--property_names",
582
+ help="List of properties to search by",
583
+ )
584
+ @click.option(
585
+ "--om-type",
586
+ default="Project",
587
+ help="Open metadata type to filter by.",
588
+ )
589
+
590
+ @click.pass_context
591
+ def show_related_elements(ctx, element_guid, rel_type, property_value, property_names, om_type):
592
+ """Show elements related to specified guid and property value"""
593
+ c = ctx.obj
594
+ list_related_elements_with_prop_value(
595
+ element_guid,
596
+ rel_type,
597
+ property_value,
598
+ [property_names],
599
+ om_type,
600
+ c.view_server,
601
+ c.view_server_url,
602
+ c.userid,
603
+ c.password,
604
+ c.jupyter,
605
+ c.width,
606
+ )
607
+
417
608
 
418
609
  @show_elements.command("related-specifications")
419
610
  @click.pass_context
@@ -553,64 +744,8 @@ def show_relationship_types(ctx, om_type):
553
744
  )
554
745
 
555
746
 
556
- @show_elements.command("elements-by-classification")
557
- @click.option(
558
- "--om-type",
559
- default="Project",
560
- help="Open Metadata type to filter by",
561
- )
562
- @click.option(
563
- "--classification",
564
- default="GovernanceProject",
565
- help="Classification to filter byt",
566
- )
567
- @click.pass_context
568
- def show_elements_by_classification(ctx, om_type, classification):
569
- """Show elements by classification"""
570
- c = ctx.obj
571
- list_classified_elements(
572
- om_type,
573
- classification,
574
- c.view_server,
575
- c.view_server_url,
576
- c.userid,
577
- c.password,
578
- c.jupyter,
579
- c.width,
580
- )
581
747
 
582
748
 
583
- @show_elements.command("related-elements")
584
- @click.option(
585
- "--element-guid",
586
- help="GUID of the Element to navigate from.",
587
- )
588
- @click.option(
589
- "--om-type",
590
- default="Project",
591
- help="Open metadata type to filter by.",
592
- )
593
- @click.option(
594
- "--rel-type",
595
- default="Certification",
596
- help="Relationship type to follow.",
597
- )
598
- @click.pass_context
599
- def show_related_elements(ctx, element_guid, om_type, rel_type):
600
- """Show elements related to specified guid"""
601
- c = ctx.obj
602
- list_related_elements(
603
- element_guid,
604
- om_type,
605
- rel_type,
606
- c.view_server,
607
- c.view_server_url,
608
- c.userid,
609
- c.password,
610
- c.jupyter,
611
- c.width,
612
- )
613
-
614
749
 
615
750
  @show_tech_type.command("template-spec")
616
751
  @click.pass_context
@@ -699,8 +834,8 @@ def valid_metadata_values(ctx, property, type_name):
699
834
  help="If True, feedback information is displayed",
700
835
  )
701
836
  @click.option("--om_type", default="Organization", help="Metadata type to query")
702
- def list_element_info(ctx, om_type, extended):
703
- """Display elements of a specific Open Metadata Type"""
837
+ def list_all_om_type_elements(ctx, om_type, extended):
838
+ """Display all elements of a specific Open Metadata Type"""
704
839
  c = ctx.obj
705
840
  if extended:
706
841
  list_elements_x(
@@ -710,7 +845,7 @@ def list_element_info(ctx, om_type, extended):
710
845
  c.userid,
711
846
  c.password,
712
847
  c.jupyter,
713
- c.width,
848
+ c.width
714
849
  )
715
850
  else:
716
851
  list_elements(
@@ -720,7 +855,7 @@ def list_element_info(ctx, om_type, extended):
720
855
  c.userid,
721
856
  c.password,
722
857
  c.jupyter,
723
- c.width,
858
+ c.width
724
859
  )
725
860
 
726
861
 
@@ -1396,21 +1531,6 @@ def show_user_ids(ctx):
1396
1531
  )
1397
1532
 
1398
1533
 
1399
- @show_server.command("archives")
1400
- @click.pass_context
1401
- def archives(ctx):
1402
- """Display a list of archivest"""
1403
- c = ctx.obj
1404
- display_archive_list(
1405
- c.view_server,
1406
- c.view_server_url,
1407
- c.userid,
1408
- c.password,
1409
- False,
1410
- c.jupyter,
1411
- c.width,
1412
- )
1413
-
1414
1534
 
1415
1535
  @deployed_data.command("deployed-servers")
1416
1536
  @click.option(
@@ -1537,6 +1657,26 @@ def show_ops(ctx):
1537
1657
  """Display an Egeria Object"""
1538
1658
  pass
1539
1659
 
1660
+ @show_ops.group("repository")
1661
+ @click.pass_context
1662
+ def show_repo(ctx):
1663
+ """Group of commands to show repository information"""
1664
+ pass
1665
+
1666
+
1667
+ @show_repo.command("archives")
1668
+ @click.pass_context
1669
+ def show_archives(ctx):
1670
+ c= ctx.obj
1671
+ display_archive_list(
1672
+ c.view_server,
1673
+ c.view_server_url,
1674
+ c.userid,
1675
+ c.password,
1676
+ False,
1677
+ c.jupyter,
1678
+ c.width,
1679
+ )
1540
1680
 
1541
1681
  @show_ops.group("platforms")
1542
1682
  @click.pass_context
@@ -1615,11 +1755,7 @@ def engine_host(ctx):
1615
1755
  @click.option(
1616
1756
  "--list", is_flag=True, default=False, help="If True, a paged list will be shown"
1617
1757
  )
1618
- @click.option(
1619
- "--engine-host",
1620
- default="engine-host",
1621
- help="Name of the Engine Host to get status for",
1622
- )
1758
+
1623
1759
  @click.pass_context
1624
1760
  def gov_eng_status(ctx, engine_list, engine_host, list):
1625
1761
  """Display engine-host status information"""
@@ -143,6 +143,7 @@ from pyegeria.commands.tech.list_asset_types import display_asset_types
143
143
  default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
144
144
  help="Path to glossary import/export files",
145
145
  )
146
+
146
147
  @click.pass_context
147
148
  def cli(
148
149
  ctx,
@@ -163,6 +164,7 @@ def cli(
163
164
  width,
164
165
  home_glossary_guid,
165
166
  glossary_path,
167
+
166
168
  ):
167
169
  """An Egeria Command Line interface for Operations"""
168
170
  ctx.obj = Config(
@@ -629,27 +631,7 @@ tell_todo.add_command(delete_todo)
629
631
  tell_todo.add_command(create_todo)
630
632
 
631
633
 
632
- # @tell.group("survey")
633
- # @click.pass_context
634
- # def survey(ctx):
635
- # """Refresh the specified integration connector or ALL connectors if not specified"""
636
- # c = ctx.obj
637
- # pass
638
-
639
-
640
- # @survey.command("survey-uc-server")
641
- # @click.pass_context
642
- # @click.option(
643
- # "--uc_endpoint",
644
- # default="https://localhost:8080",
645
- # help="Endpoint of the Unity Catalog Server to Survey",
646
- # )
647
- # def survey_uc_server(ctx, uc_endpoint):
648
- # """Survey the Unity Catalog server at the given endpoint"""
649
- # c = ctx.obj
650
- # pass
651
- # # restart_connector(connector, c.integration_daemon, c.integration_daemon_url,
652
- # # c.userid, c.password)
634
+
653
635
 
654
636
 
655
637
  if __name__ == "__main__":
@@ -40,7 +40,7 @@ from typing import Any
40
40
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
41
41
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
42
42
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
43
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
43
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
44
44
  EGERIA_VIEW_SERVER_URL = os.environ.get(
45
45
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
46
46
  )
@@ -124,6 +124,12 @@ from pyegeria.commands.my.todo_actions import (
124
124
  default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
125
125
  help="Glossary guid to use as the home glossary",
126
126
  )
127
+ @click.option(
128
+ "--glossary_path",
129
+ default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
130
+ help="Path to glossary import/export files",
131
+ )
132
+
127
133
  @click.pass_context
128
134
  def cli(
129
135
  ctx,
@@ -142,6 +148,8 @@ def cli(
142
148
  timeout,
143
149
  jupyter,
144
150
  width,
151
+ home_glossary_guid,
152
+ glossary_path,
145
153
  ):
146
154
  """An Egeria Command Line interface for Operations"""
147
155
  ctx.obj = Config(
@@ -160,6 +168,8 @@ def cli(
160
168
  timeout,
161
169
  jupyter,
162
170
  width,
171
+ home_glossary_guid,
172
+ glossary_path,
163
173
  )
164
174
  ctx.max_content_width = 200
165
175
  ctx.ensure_object(Config)
@@ -140,6 +140,11 @@ from pyegeria.commands.ops.list_archives import display_archive_list
140
140
  default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
141
141
  help="Glossary guid to use as the home glossary",
142
142
  )
143
+ @click.option(
144
+ "--glossary_path",
145
+ default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
146
+ help="Path to glossary import/export files",
147
+ )
143
148
  @click.pass_context
144
149
  def cli(
145
150
  ctx,
@@ -158,6 +163,8 @@ def cli(
158
163
  timeout,
159
164
  jupyter,
160
165
  width,
166
+ home_glossary_guid,
167
+ glossary_path,
161
168
  ):
162
169
  """An Egeria Command Line interface for Operations"""
163
170
  ctx.obj = Config(
@@ -176,6 +183,8 @@ def cli(
176
183
  timeout,
177
184
  jupyter,
178
185
  width,
186
+ home_glossary_guid,
187
+ glossary_path
179
188
  )
180
189
  ctx.max_content_width = 200
181
190
  ctx.ensure_object(Config)
@@ -248,12 +257,17 @@ def show_startup_status(ctx):
248
257
  c.width,
249
258
  )
250
259
 
260
+ @show.group("repository")
261
+ @click.pass_context
262
+ def show_repo(ctx):
263
+ """Group of commands to show repository information"""
264
+ pass
265
+
251
266
 
252
- @show_server.command("archives")
267
+ @show_repo.command("archives")
253
268
  @click.pass_context
254
- def list_archives(ctx):
255
- """Display a list of archives"""
256
- c = ctx.obj
269
+ def show_archives(ctx):
270
+ c= ctx.obj
257
271
  display_archive_list(
258
272
  c.view_server,
259
273
  c.view_server_url,
@@ -278,11 +292,7 @@ def engine_host(ctx):
278
292
  default="*",
279
293
  help="Enter the list of connectors you are interested in or ['*'] for all",
280
294
  )
281
- @click.option(
282
- "--engine-host",
283
- default="engine-host",
284
- help="Name of the Engine Host to get status for",
285
- )
295
+
286
296
  @click.option(
287
297
  "--list", is_flag=True, default=False, help="If True, a paged list will be shown"
288
298
  )