pyegeria 0.2.4__py3-none-any.whl → 5.3.0.dev3__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.
- pyegeria/README.md +35 -0
- pyegeria/__init__.py +345 -14
- pyegeria/_client.py +376 -126
- pyegeria/_deprecated_gov_engine.py +451 -0
- pyegeria/_exceptions.py +6 -6
- pyegeria/_globals.py +7 -1
- pyegeria/_validators.py +9 -6
- pyegeria/asset_catalog_omvs.py +807 -0
- pyegeria/automated_curation_omvs.py +3760 -0
- pyegeria/classification_manager_omvs.py +5238 -0
- pyegeria/collection_manager_omvs.py +2727 -0
- pyegeria/commands/README.md +47 -0
- pyegeria/commands/__init__.py +22 -0
- pyegeria/commands/cat/README.md +16 -0
- pyegeria/commands/cat/__init__.py +1 -0
- pyegeria/commands/cat/exp_list_glossaries.py +156 -0
- pyegeria/commands/cat/get_asset_graph.py +319 -0
- pyegeria/commands/cat/get_collection.py +148 -0
- pyegeria/commands/cat/get_project_dependencies.py +168 -0
- pyegeria/commands/cat/get_project_structure.py +168 -0
- pyegeria/commands/cat/get_tech_type_elements.py +174 -0
- pyegeria/commands/cat/glossary_actions.py +362 -0
- pyegeria/commands/cat/list_assets.py +176 -0
- pyegeria/commands/cat/list_cert_types.py +194 -0
- pyegeria/commands/cat/list_collections.py +162 -0
- pyegeria/commands/cat/list_deployed_catalogs.py +217 -0
- pyegeria/commands/cat/list_deployed_database_schemas.py +251 -0
- pyegeria/commands/cat/list_deployed_databases.py +202 -0
- pyegeria/commands/cat/list_glossaries.py +150 -0
- pyegeria/commands/cat/list_projects.py +221 -0
- pyegeria/commands/cat/list_servers_deployed_imp.py +158 -0
- pyegeria/commands/cat/list_tech_type_elements.py +190 -0
- pyegeria/commands/cat/list_tech_types.py +140 -0
- pyegeria/commands/cat/list_terms.py +242 -0
- pyegeria/commands/cat/list_todos.py +189 -0
- pyegeria/commands/cat/list_user_ids.py +145 -0
- pyegeria/commands/cli/__init__.py +13 -0
- pyegeria/commands/cli/egeria.py +1844 -0
- pyegeria/commands/cli/egeria_cat.py +638 -0
- pyegeria/commands/cli/egeria_login_tui.py +313 -0
- pyegeria/commands/cli/egeria_my.py +248 -0
- pyegeria/commands/cli/egeria_ops.py +502 -0
- pyegeria/commands/cli/egeria_tech.py +618 -0
- pyegeria/commands/cli/ops_config.py +45 -0
- pyegeria/commands/cli/txt_custom_v2.tcss +19 -0
- pyegeria/commands/doc/README.md +145 -0
- pyegeria/commands/doc/Visual Command Reference/README.md +511 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type extended 2024-12-16 at 14.28.46@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_of_om_type_by_classification 2024-12-16 at 14.35.26@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_tech_type_template_specs 2024-12-16 at 16.03.22@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
- pyegeria/commands/doc/glossary/basic-glossary-tui.md +109 -0
- pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
- pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
- pyegeria/commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
- pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
- pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
- pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
- pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
- pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
- pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
- pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
- pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
- pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
- pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +346 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria cat 2024-11-12 at 21.41.43.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-list 2024-11-12 at 16.45.26.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-live 2024-11-12 at 16.44.12@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status 2024-11-10 at 18.15.42@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status-full 2024-11-10 at 18.25.14@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-load-archive 2024-11-10 at 19.19.09@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status 2024-11-10 at 18.52.01@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-status-paging 2024-11-12 at 16.26.14@2x.png +0 -0
- pyegeria/commands/my/README.md +17 -0
- pyegeria/commands/my/__init__.py +0 -0
- pyegeria/commands/my/list_my_profile.py +163 -0
- pyegeria/commands/my/list_my_roles.py +151 -0
- pyegeria/commands/my/monitor_my_todos.py +205 -0
- pyegeria/commands/my/monitor_open_todos.py +175 -0
- pyegeria/commands/my/todo_actions.py +242 -0
- pyegeria/commands/ops/README.md +24 -0
- pyegeria/commands/ops/__init__.py +22 -0
- pyegeria/commands/ops/gov_server_actions.py +177 -0
- pyegeria/commands/ops/list_archives.py +161 -0
- pyegeria/commands/ops/list_catalog_targets.py +203 -0
- pyegeria/commands/ops/load_archive.py +75 -0
- pyegeria/commands/ops/monitor_asset_events.py +107 -0
- pyegeria/commands/ops/monitor_engine_activity.py +270 -0
- pyegeria/commands/ops/monitor_engine_activity_c.py +286 -0
- pyegeria/commands/ops/monitor_gov_eng_status.py +288 -0
- pyegeria/commands/ops/monitor_integ_daemon_status.py +321 -0
- pyegeria/commands/ops/monitor_platform_status.py +188 -0
- pyegeria/commands/ops/monitor_server_startup.py +117 -0
- pyegeria/commands/ops/monitor_server_status.py +182 -0
- pyegeria/commands/ops/orig_monitor_server_list.py +140 -0
- pyegeria/commands/ops/orig_monitor_server_status.py +124 -0
- pyegeria/commands/ops/refresh_integration_daemon.py +83 -0
- pyegeria/commands/ops/restart_integration_daemon.py +82 -0
- pyegeria/commands/ops/table_integ_daemon_status.py +237 -0
- pyegeria/commands/ops/x_engine_actions.py +76 -0
- pyegeria/commands/tech/README.md +24 -0
- pyegeria/commands/tech/__init__.py +0 -0
- pyegeria/commands/tech/get_element_info.py +144 -0
- pyegeria/commands/tech/get_guid_info.py +134 -0
- pyegeria/commands/tech/get_tech_details.py +173 -0
- pyegeria/commands/tech/get_tech_type_template.py +166 -0
- pyegeria/commands/tech/list_anchored_elements.py +205 -0
- pyegeria/commands/tech/list_asset_types.py +123 -0
- pyegeria/commands/tech/list_elements.py +168 -0
- pyegeria/commands/tech/list_elements_for_classification.py +171 -0
- pyegeria/commands/tech/list_elements_x.py +191 -0
- pyegeria/commands/tech/list_gov_action_processes.py +139 -0
- pyegeria/commands/tech/list_registered_services.py +180 -0
- pyegeria/commands/tech/list_related_elements.py +207 -0
- pyegeria/commands/tech/list_related_specification.py +169 -0
- pyegeria/commands/tech/list_relationship_types.py +164 -0
- pyegeria/commands/tech/list_relationships.py +179 -0
- pyegeria/commands/tech/list_tech_templates.py +360 -0
- pyegeria/commands/tech/list_valid_metadata_values.py +178 -0
- pyegeria/commands/tech/table_tech_templates.py +238 -0
- pyegeria/commands/tech/x_list_related_elements.py +165 -0
- pyegeria/core_omag_server_config.py +550 -313
- pyegeria/create_tech_guid_lists.py +105 -0
- pyegeria/egeria_cat_client.py +78 -0
- pyegeria/egeria_client.py +117 -0
- pyegeria/egeria_config_client.py +45 -0
- pyegeria/egeria_my_client.py +56 -0
- pyegeria/egeria_tech_client.py +93 -0
- pyegeria/feedback_manager_omvs.py +4573 -0
- pyegeria/full_omag_server_config.py +1337 -0
- pyegeria/glossary_browser_omvs.py +2507 -0
- pyegeria/glossary_manager_omvs.py +3597 -0
- pyegeria/mermaid_utilities.py +218 -0
- pyegeria/metadata_explorer_omvs.py +2371 -0
- pyegeria/my_profile_omvs.py +1021 -0
- pyegeria/platform_services.py +259 -218
- pyegeria/project_manager_omvs.py +1854 -0
- pyegeria/registered_info.py +111 -108
- pyegeria/runtime_manager_omvs.py +2299 -0
- pyegeria/server_operations.py +178 -71
- pyegeria/template_manager_omvs.py +1414 -0
- pyegeria/utils.py +75 -85
- pyegeria/valid_metadata_omvs.py +1911 -0
- pyegeria/x_action_author_omvs.py +200 -0
- pyegeria-5.3.0.dev3.dist-info/METADATA +70 -0
- pyegeria-5.3.0.dev3.dist-info/RECORD +232 -0
- {pyegeria-0.2.4.dist-info → pyegeria-5.3.0.dev3.dist-info}/WHEEL +1 -1
- pyegeria-5.3.0.dev3.dist-info/entry_points.txt +81 -0
- pyegeria/config.toml +0 -11
- pyegeria/curation_omvs.py +0 -458
- pyegeria/exceptions.py +0 -382
- pyegeria/glossary_omvs.py +0 -639
- pyegeria/gov_engine.py +0 -573
- pyegeria-0.2.4.dist-info/METADATA +0 -57
- pyegeria-0.2.4.dist-info/RECORD +0 -19
- {pyegeria-0.2.4.dist-info/licenses → pyegeria-5.3.0.dev3.dist-info}/LICENSE +0 -0
@@ -0,0 +1,638 @@
|
|
1
|
+
#!/usr/bin/env python3
|
2
|
+
"""
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
4
|
+
Copyright Contributors to the ODPi Egeria project.
|
5
|
+
|
6
|
+
|
7
|
+
A command line interface for Egeria Catalog User functions
|
8
|
+
|
9
|
+
This is an emerging capability based on the **click** package. Feedback welcome!
|
10
|
+
|
11
|
+
"""
|
12
|
+
import os
|
13
|
+
|
14
|
+
import click
|
15
|
+
from trogon import tui
|
16
|
+
|
17
|
+
from pyegeria.commands.cat.get_asset_graph import asset_viewer
|
18
|
+
from pyegeria.commands.cat.get_collection import collection_viewer
|
19
|
+
from pyegeria.commands.cat.get_project_dependencies import project_dependency_viewer
|
20
|
+
from pyegeria.commands.cat.get_project_structure import project_structure_viewer
|
21
|
+
from pyegeria.commands.cat.get_tech_type_elements import tech_viewer
|
22
|
+
from pyegeria.commands.cat.list_tech_type_elements import list_tech_elements
|
23
|
+
from pyegeria.commands.cat.glossary_actions import (
|
24
|
+
create_glossary,
|
25
|
+
delete_glossary,
|
26
|
+
create_term,
|
27
|
+
delete_term,
|
28
|
+
import_terms,
|
29
|
+
export_terms,
|
30
|
+
)
|
31
|
+
from pyegeria.commands.cat.list_servers_deployed_imp import display_servers_by_dep_imp
|
32
|
+
from pyegeria.commands.cat.list_glossaries import display_glossaries
|
33
|
+
from pyegeria.commands.cat.list_assets import display_assets
|
34
|
+
from pyegeria.commands.cat.list_cert_types import display_certifications
|
35
|
+
from pyegeria.commands.cat.list_deployed_catalogs import list_deployed_catalogs
|
36
|
+
from pyegeria.commands.cat.list_deployed_database_schemas import (
|
37
|
+
list_deployed_database_schemas,
|
38
|
+
)
|
39
|
+
from pyegeria.commands.cat.list_deployed_databases import list_deployed_databases
|
40
|
+
from pyegeria.commands.cat.list_terms import display_glossary_terms
|
41
|
+
from pyegeria.commands.cat.list_projects import display_project_list
|
42
|
+
from pyegeria.commands.cat.list_tech_types import display_tech_types
|
43
|
+
from pyegeria.commands.cat.list_todos import display_to_dos as list_todos
|
44
|
+
from pyegeria.commands.cat.list_user_ids import list_user_ids
|
45
|
+
from pyegeria.commands.cat.list_collections import display_collections
|
46
|
+
|
47
|
+
|
48
|
+
from pyegeria.commands.cli.ops_config import Config
|
49
|
+
from pyegeria.commands.my.todo_actions import (
|
50
|
+
mark_todo_complete,
|
51
|
+
reassign_todo,
|
52
|
+
delete_todo,
|
53
|
+
create_todo,
|
54
|
+
)
|
55
|
+
from pyegeria.commands.tech.list_asset_types import display_asset_types
|
56
|
+
|
57
|
+
|
58
|
+
# @tui
|
59
|
+
# @tui('menu','menu','A textual command line interface')
|
60
|
+
@tui()
|
61
|
+
@click.version_option("0.0.1", prog_name="egeria_ops")
|
62
|
+
@click.group()
|
63
|
+
@click.option(
|
64
|
+
"--server",
|
65
|
+
default=os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store"),
|
66
|
+
help="Egeria metadata store to work with",
|
67
|
+
)
|
68
|
+
@click.option(
|
69
|
+
"--url",
|
70
|
+
default=os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443"),
|
71
|
+
help="URL of Egeria metadata store platform to connect to",
|
72
|
+
)
|
73
|
+
@click.option(
|
74
|
+
"--integration_daemon",
|
75
|
+
default=os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon"),
|
76
|
+
help="Egeria integration daemon to work with",
|
77
|
+
)
|
78
|
+
@click.option(
|
79
|
+
"--integration_daemon_url",
|
80
|
+
default=os.environ.get("EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"),
|
81
|
+
help="URL of Egeria integration daemon platform to connect to",
|
82
|
+
)
|
83
|
+
@click.option(
|
84
|
+
"--view_server",
|
85
|
+
default=os.environ.get("EGERIA_VIEW_SERVER", "view-server"),
|
86
|
+
help="Egeria view server to work with",
|
87
|
+
)
|
88
|
+
@click.option(
|
89
|
+
"--view_server_url",
|
90
|
+
default=os.environ.get("EGERIA_VIEW_SERVER_URL", "https://localhost:9443"),
|
91
|
+
help="URL of Egeria view server platform to connect to",
|
92
|
+
)
|
93
|
+
@click.option(
|
94
|
+
"--engine_host",
|
95
|
+
default=os.environ.get("EGERIA_ENGINE_HOST", "engine-host"),
|
96
|
+
help="Egeria engine host to work with",
|
97
|
+
)
|
98
|
+
@click.option(
|
99
|
+
"--engine_host_url",
|
100
|
+
default=os.environ.get("EGERIA_ENGINE_HOST_URL", "https://localhost:9443"),
|
101
|
+
help="URL of Egeria engine host platform to connect to",
|
102
|
+
)
|
103
|
+
@click.option(
|
104
|
+
"--admin_user",
|
105
|
+
default=os.environ.get("EGERIA_ADMIN_USER", "garygeeke"),
|
106
|
+
help="Egeria admin user",
|
107
|
+
)
|
108
|
+
@click.option(
|
109
|
+
"--admin_user_password",
|
110
|
+
default=os.environ.get("EGERIA_ADMIN_PASSWORD", "secret"),
|
111
|
+
help="Egeria admin password",
|
112
|
+
)
|
113
|
+
@click.option(
|
114
|
+
"--userid",
|
115
|
+
default=os.environ.get("EGERIA_USER", "peterprofile"),
|
116
|
+
help="Egeria user",
|
117
|
+
)
|
118
|
+
@click.option(
|
119
|
+
"--password",
|
120
|
+
default=os.environ.get("EGERIA_USER_PASSWORD", "secret"),
|
121
|
+
help="Egeria user password",
|
122
|
+
)
|
123
|
+
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
124
|
+
@click.option(
|
125
|
+
"--jupyter",
|
126
|
+
is_flag=True,
|
127
|
+
default=os.environ.get("EGERIA_JUPYTER", "False"),
|
128
|
+
help="Enable for rendering in a Jupyter terminal",
|
129
|
+
)
|
130
|
+
@click.option(
|
131
|
+
"--width",
|
132
|
+
default=os.environ.get("EGERIA_WIDTH", 200),
|
133
|
+
type=int,
|
134
|
+
help="Screen width, in characters, to use",
|
135
|
+
)
|
136
|
+
@click.option(
|
137
|
+
"--home_glossary_guid",
|
138
|
+
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
139
|
+
help="Glossary guid to use as the home glossary",
|
140
|
+
)
|
141
|
+
@click.option(
|
142
|
+
"--glossary_path",
|
143
|
+
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
144
|
+
help="Path to glossary import/export files",
|
145
|
+
)
|
146
|
+
|
147
|
+
@click.pass_context
|
148
|
+
def cli(
|
149
|
+
ctx,
|
150
|
+
server,
|
151
|
+
url,
|
152
|
+
view_server,
|
153
|
+
view_server_url,
|
154
|
+
integration_daemon,
|
155
|
+
integration_daemon_url,
|
156
|
+
engine_host,
|
157
|
+
engine_host_url,
|
158
|
+
admin_user,
|
159
|
+
admin_user_password,
|
160
|
+
userid,
|
161
|
+
password,
|
162
|
+
timeout,
|
163
|
+
jupyter,
|
164
|
+
width,
|
165
|
+
home_glossary_guid,
|
166
|
+
glossary_path,
|
167
|
+
|
168
|
+
):
|
169
|
+
"""An Egeria Command Line interface for Operations"""
|
170
|
+
ctx.obj = Config(
|
171
|
+
server,
|
172
|
+
url,
|
173
|
+
view_server,
|
174
|
+
view_server_url,
|
175
|
+
integration_daemon,
|
176
|
+
integration_daemon_url,
|
177
|
+
engine_host,
|
178
|
+
engine_host_url,
|
179
|
+
admin_user,
|
180
|
+
admin_user_password,
|
181
|
+
userid,
|
182
|
+
password,
|
183
|
+
timeout,
|
184
|
+
jupyter,
|
185
|
+
width,
|
186
|
+
home_glossary_guid,
|
187
|
+
glossary_path,
|
188
|
+
)
|
189
|
+
ctx.max_content_width = 250
|
190
|
+
ctx.ensure_object(Config)
|
191
|
+
|
192
|
+
|
193
|
+
@cli.group("show")
|
194
|
+
def show():
|
195
|
+
"""Display Egeria Objects"""
|
196
|
+
pass
|
197
|
+
|
198
|
+
|
199
|
+
@show.group("info")
|
200
|
+
@click.pass_context
|
201
|
+
def info(ctx):
|
202
|
+
"""Group of commands to show information about various Egeria objects"""
|
203
|
+
pass
|
204
|
+
|
205
|
+
|
206
|
+
@info.command("tech-types")
|
207
|
+
@click.option("--tech_type", default="*", help="Tech type to search for")
|
208
|
+
@click.pass_context
|
209
|
+
def show_tech_types(ctx, tech_type):
|
210
|
+
"""List deployed technology types"""
|
211
|
+
c = ctx.obj
|
212
|
+
display_tech_types(
|
213
|
+
tech_type, c.view_server, c.view_server_url, c.userid, c.password
|
214
|
+
)
|
215
|
+
|
216
|
+
|
217
|
+
@info.command("collections")
|
218
|
+
@click.option("--collection", default="*", help="Collection to search for")
|
219
|
+
@click.pass_context
|
220
|
+
def show_collections(ctx, collection):
|
221
|
+
"""List Collections"""
|
222
|
+
c = ctx.obj
|
223
|
+
display_collections(
|
224
|
+
collection, c.view_server, c.view_server_url, c.userid, c.password
|
225
|
+
)
|
226
|
+
|
227
|
+
|
228
|
+
@show.group("assets")
|
229
|
+
@click.pass_context
|
230
|
+
def asset_group(ctx):
|
231
|
+
"""Show assets known to Egerias"""
|
232
|
+
pass
|
233
|
+
|
234
|
+
|
235
|
+
@asset_group.command("tech-type-elements")
|
236
|
+
@click.option(
|
237
|
+
"--tech_type",
|
238
|
+
default="PostgreSQL Server",
|
239
|
+
help="Specific tech type to get elements for",
|
240
|
+
)
|
241
|
+
@click.pass_context
|
242
|
+
def list_tech_type_elements(ctx, tech_type):
|
243
|
+
"""List technology type elements"""
|
244
|
+
c = ctx.obj
|
245
|
+
list_tech_elements(
|
246
|
+
tech_type, c.view_server, c.view_server_url, c.userid, c.password
|
247
|
+
)
|
248
|
+
|
249
|
+
|
250
|
+
@asset_group.command("elements-of-tech-type")
|
251
|
+
@click.option(
|
252
|
+
"--tech_type",
|
253
|
+
default="PostgreSQL Server",
|
254
|
+
help="Specific tech type to get elements for",
|
255
|
+
)
|
256
|
+
@click.pass_context
|
257
|
+
def show_tech_type_elements(ctx, tech_type):
|
258
|
+
"""List technology type elements"""
|
259
|
+
c = ctx.obj
|
260
|
+
tech_viewer(tech_type, c.view_server, c.view_server_url, c.userid, c.password)
|
261
|
+
|
262
|
+
|
263
|
+
@asset_group.command("in-asset-domain")
|
264
|
+
@click.argument("search-string")
|
265
|
+
@click.pass_context
|
266
|
+
def show_assets(ctx, search_string):
|
267
|
+
"""Find and display assets
|
268
|
+
|
269
|
+
Usage: show assets <search-string>
|
270
|
+
|
271
|
+
search-string must be greater than four characters.
|
272
|
+
"""
|
273
|
+
c = ctx.obj
|
274
|
+
display_assets(
|
275
|
+
search_string,
|
276
|
+
c.view_server,
|
277
|
+
c.view_server_url,
|
278
|
+
c.userid,
|
279
|
+
c.password,
|
280
|
+
60,
|
281
|
+
c.jupyter,
|
282
|
+
c.width,
|
283
|
+
)
|
284
|
+
|
285
|
+
|
286
|
+
@asset_group.command("asset-graph")
|
287
|
+
@click.argument("asset_guid", nargs=1)
|
288
|
+
@click.pass_context
|
289
|
+
def show_asset_graph(ctx, asset_guid):
|
290
|
+
"""Display a tree graph of information about an asset
|
291
|
+
|
292
|
+
Usage: show asset-graph <asset-guid>
|
293
|
+
|
294
|
+
asset-guid must be a valid asset guid. These can be found through other commands such as 'show tech-type-elements'
|
295
|
+
|
296
|
+
"""
|
297
|
+
c = ctx.obj
|
298
|
+
asset_viewer(
|
299
|
+
asset_guid,
|
300
|
+
c.view_server,
|
301
|
+
c.view_server_url,
|
302
|
+
c.userid,
|
303
|
+
c.password,
|
304
|
+
c.jupyter,
|
305
|
+
c.width,
|
306
|
+
)
|
307
|
+
|
308
|
+
|
309
|
+
@show.group("glossary")
|
310
|
+
@click.pass_context
|
311
|
+
def glossary_group(ctx):
|
312
|
+
"""Show glossary information"""
|
313
|
+
pass
|
314
|
+
|
315
|
+
|
316
|
+
@glossary_group.command("glossary-terms")
|
317
|
+
@click.option(
|
318
|
+
"--search-string",
|
319
|
+
default="*",
|
320
|
+
help="List glossary terms similar to search string - minimum of 4 characters",
|
321
|
+
)
|
322
|
+
@click.option(
|
323
|
+
"--glossary-guid",
|
324
|
+
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
325
|
+
help="Optionally restrict search to glossary with the specified guid",
|
326
|
+
)
|
327
|
+
@click.option(
|
328
|
+
"--glossary-name",
|
329
|
+
default="*",
|
330
|
+
help="Optionally restrict search to a specific named glossary",
|
331
|
+
)
|
332
|
+
@click.pass_context
|
333
|
+
def show_terms(ctx, search_string, glossary_guid, glossary_name):
|
334
|
+
"""Find and display glossary terms"""
|
335
|
+
c = ctx.obj
|
336
|
+
display_glossary_terms(
|
337
|
+
search_string,
|
338
|
+
glossary_guid,
|
339
|
+
glossary_name,
|
340
|
+
c.view_server,
|
341
|
+
c.view_server_url,
|
342
|
+
c.userid,
|
343
|
+
c.password,
|
344
|
+
c.jupyter,
|
345
|
+
c.width,
|
346
|
+
)
|
347
|
+
|
348
|
+
|
349
|
+
@glossary_group.command("glossaries")
|
350
|
+
@click.option("--search_string", default="*", help="Name to search for glossaries")
|
351
|
+
@click.pass_context
|
352
|
+
def glossaries(ctx, search_string):
|
353
|
+
"""Display a list of glossaries"""
|
354
|
+
c = ctx.obj
|
355
|
+
display_glossaries(
|
356
|
+
search_string,
|
357
|
+
c.view_server,
|
358
|
+
c.view_server_url,
|
359
|
+
c.userid,
|
360
|
+
c.password,
|
361
|
+
c.jupyter,
|
362
|
+
c.width,
|
363
|
+
)
|
364
|
+
|
365
|
+
|
366
|
+
@info.command("collection")
|
367
|
+
@click.option(
|
368
|
+
"--root_collection",
|
369
|
+
default="Digital Product Root",
|
370
|
+
help="View of tree of collections from a given root",
|
371
|
+
)
|
372
|
+
@click.pass_context
|
373
|
+
def show_collection(ctx, root_collection):
|
374
|
+
"""Display a collection"""
|
375
|
+
c = ctx.obj
|
376
|
+
collection_viewer(
|
377
|
+
root_collection,
|
378
|
+
c.view_server,
|
379
|
+
c.view_server_url,
|
380
|
+
c.userid,
|
381
|
+
c.password,
|
382
|
+
c.jupyter,
|
383
|
+
c.width,
|
384
|
+
)
|
385
|
+
|
386
|
+
|
387
|
+
@show.group("projects")
|
388
|
+
@click.pass_context
|
389
|
+
def projects(ctx):
|
390
|
+
"""Show project information in Egeria"""
|
391
|
+
pass
|
392
|
+
|
393
|
+
|
394
|
+
@projects.command("projects")
|
395
|
+
@click.option("--search-string", default="*", help="List Projects by Search String")
|
396
|
+
@click.pass_context
|
397
|
+
def show_projects(ctx, search_string):
|
398
|
+
"""Display a list of Egeria projects"""
|
399
|
+
c = ctx.obj
|
400
|
+
display_project_list(
|
401
|
+
search_string,
|
402
|
+
c.view_server,
|
403
|
+
c.view_server_url,
|
404
|
+
c.userid,
|
405
|
+
c.password,
|
406
|
+
False,
|
407
|
+
c.jupyter,
|
408
|
+
c.width,
|
409
|
+
)
|
410
|
+
|
411
|
+
|
412
|
+
@info.command("certification-types")
|
413
|
+
@click.option("--search-string", default="CertificationType", help="")
|
414
|
+
@click.pass_context
|
415
|
+
def show_certification_types(ctx, search_string):
|
416
|
+
"""Show certification types"""
|
417
|
+
c = ctx.obj
|
418
|
+
display_certifications(
|
419
|
+
search_string,
|
420
|
+
c.view_server,
|
421
|
+
c.view_server_url,
|
422
|
+
c.userid,
|
423
|
+
c.password,
|
424
|
+
c.timeout,
|
425
|
+
c.jupyter,
|
426
|
+
c.width,
|
427
|
+
)
|
428
|
+
|
429
|
+
|
430
|
+
@projects.command("project-structure")
|
431
|
+
@click.option(
|
432
|
+
"--project",
|
433
|
+
default="Clinical Trials Management",
|
434
|
+
help="Enter the root project to start from",
|
435
|
+
)
|
436
|
+
@click.pass_context
|
437
|
+
def show_project_structure(ctx, project):
|
438
|
+
"""Show the organization structure of the project starting from a root project"""
|
439
|
+
c = ctx.obj
|
440
|
+
project_structure_viewer(
|
441
|
+
project,
|
442
|
+
c.view_server,
|
443
|
+
c.view_server_url,
|
444
|
+
c.userid,
|
445
|
+
c.password,
|
446
|
+
c.jupyter,
|
447
|
+
c.width,
|
448
|
+
c.timeout,
|
449
|
+
)
|
450
|
+
|
451
|
+
|
452
|
+
@projects.command("project-dependencies")
|
453
|
+
@click.option(
|
454
|
+
"--project",
|
455
|
+
default="Clinical Trials Management",
|
456
|
+
help="Enter the root project to start from",
|
457
|
+
)
|
458
|
+
@click.pass_context
|
459
|
+
def show_project_dependencies(ctx, project):
|
460
|
+
"""Show the dependencies of a project starting from a root project"""
|
461
|
+
c = ctx.obj
|
462
|
+
project_dependency_viewer(
|
463
|
+
project,
|
464
|
+
c.view_server,
|
465
|
+
c.view_server_url,
|
466
|
+
c.userid,
|
467
|
+
c.password,
|
468
|
+
c.jupyter,
|
469
|
+
c.width,
|
470
|
+
c.timeout,
|
471
|
+
)
|
472
|
+
|
473
|
+
|
474
|
+
@info.command("to-dos")
|
475
|
+
@click.option("--search-string", default="*", help="View the list of To-Do items")
|
476
|
+
@click.option(
|
477
|
+
"--status",
|
478
|
+
type=click.Choice(
|
479
|
+
["OPEN", "IN_PROGRESS", "WAITING", "COMPLETE", "ABANDONED", "None"],
|
480
|
+
case_sensitive=False,
|
481
|
+
),
|
482
|
+
help="Enter an optional status filter",
|
483
|
+
required=False,
|
484
|
+
default="NONE",
|
485
|
+
)
|
486
|
+
@click.pass_context
|
487
|
+
def show_todos(ctx, search_string, status):
|
488
|
+
"""Display a list of To Dos"""
|
489
|
+
c = ctx.obj
|
490
|
+
list_todos(
|
491
|
+
search_string,
|
492
|
+
status,
|
493
|
+
c.view_server,
|
494
|
+
c.view_server_url,
|
495
|
+
c.userid,
|
496
|
+
c.password,
|
497
|
+
c.jupyter,
|
498
|
+
c.width,
|
499
|
+
)
|
500
|
+
|
501
|
+
|
502
|
+
@info.command("asset-types")
|
503
|
+
@click.pass_context
|
504
|
+
def show_asset_types(ctx):
|
505
|
+
"""Display engine-host status information"""
|
506
|
+
c = ctx.obj
|
507
|
+
display_asset_types(
|
508
|
+
c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
|
509
|
+
)
|
510
|
+
|
511
|
+
|
512
|
+
@info.command("user-ids")
|
513
|
+
@click.pass_context
|
514
|
+
def show_user_ids(ctx):
|
515
|
+
"""Display a list of known user ids"""
|
516
|
+
c = ctx.obj
|
517
|
+
list_user_ids(
|
518
|
+
c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
|
519
|
+
)
|
520
|
+
|
521
|
+
|
522
|
+
@show.group("deployed-data")
|
523
|
+
@click.pass_context
|
524
|
+
def deployed_data(ctx):
|
525
|
+
"""Show deployed data resources known to Egeria"""
|
526
|
+
pass
|
527
|
+
|
528
|
+
|
529
|
+
@deployed_data.command("deployed-servers")
|
530
|
+
@click.option(
|
531
|
+
"--search-string",
|
532
|
+
default="*",
|
533
|
+
help="Filter deployed for deployed implementation type by search string",
|
534
|
+
)
|
535
|
+
@click.pass_context
|
536
|
+
def show_deployed_servers(ctx, search_string):
|
537
|
+
"""Display deployed servers"""
|
538
|
+
c = ctx.obj
|
539
|
+
display_servers_by_dep_imp(
|
540
|
+
search_string,
|
541
|
+
c.view_server,
|
542
|
+
c.view_server_url,
|
543
|
+
c.userid,
|
544
|
+
c.password,
|
545
|
+
c.jupyter,
|
546
|
+
c.width,
|
547
|
+
)
|
548
|
+
|
549
|
+
|
550
|
+
@deployed_data.command("deployed-schemas")
|
551
|
+
@click.option("--catalog", default="*", help="What database or catalog to search")
|
552
|
+
@click.pass_context
|
553
|
+
def deployed_schemas(ctx, catalog):
|
554
|
+
"""Display deployed schemas"""
|
555
|
+
c = ctx.obj
|
556
|
+
list_deployed_database_schemas(
|
557
|
+
catalog,
|
558
|
+
c.view_server,
|
559
|
+
c.view_server_url,
|
560
|
+
c.userid,
|
561
|
+
c.password,
|
562
|
+
c.jupyter,
|
563
|
+
c.width,
|
564
|
+
)
|
565
|
+
|
566
|
+
|
567
|
+
@deployed_data.command("catalogs")
|
568
|
+
@click.option("--search_server", default="*", help="Server to search for catalogs")
|
569
|
+
@click.pass_context
|
570
|
+
def list_catalogs(ctx, search_server):
|
571
|
+
"""Display deployed catalogs"""
|
572
|
+
c = ctx.obj
|
573
|
+
list_deployed_catalogs(
|
574
|
+
search_server,
|
575
|
+
c.view_server,
|
576
|
+
c.view_server_url,
|
577
|
+
c.userid,
|
578
|
+
c.password,
|
579
|
+
c.jupyter,
|
580
|
+
c.width,
|
581
|
+
)
|
582
|
+
|
583
|
+
|
584
|
+
@deployed_data.command("databases")
|
585
|
+
@click.pass_context
|
586
|
+
def list_databases(ctx):
|
587
|
+
"""Display deployed databases"""
|
588
|
+
c = ctx.obj
|
589
|
+
list_deployed_databases(
|
590
|
+
c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
|
591
|
+
)
|
592
|
+
|
593
|
+
|
594
|
+
#
|
595
|
+
# Tell
|
596
|
+
#
|
597
|
+
|
598
|
+
|
599
|
+
@cli.group("tell")
|
600
|
+
@click.pass_context
|
601
|
+
def tell(ctx):
|
602
|
+
"""Perform actions an Egeria Objects"""
|
603
|
+
pass
|
604
|
+
|
605
|
+
|
606
|
+
@tell.group("glossary")
|
607
|
+
@click.pass_context
|
608
|
+
def tell_glossary(ctx):
|
609
|
+
"""Perform glossary actions"""
|
610
|
+
pass
|
611
|
+
|
612
|
+
|
613
|
+
tell_glossary.add_command(create_glossary)
|
614
|
+
tell_glossary.add_command(delete_glossary)
|
615
|
+
tell_glossary.add_command(create_term)
|
616
|
+
tell_glossary.add_command(import_terms)
|
617
|
+
tell_glossary.add_command(export_terms)
|
618
|
+
tell_glossary.add_command(delete_term)
|
619
|
+
|
620
|
+
|
621
|
+
@tell.group("todo")
|
622
|
+
@click.pass_context
|
623
|
+
def tell_todo(ctx):
|
624
|
+
"""Perform todo actions"""
|
625
|
+
pass
|
626
|
+
|
627
|
+
|
628
|
+
tell_todo.add_command(mark_todo_complete)
|
629
|
+
tell_todo.add_command(reassign_todo)
|
630
|
+
tell_todo.add_command(delete_todo)
|
631
|
+
tell_todo.add_command(create_todo)
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
if __name__ == "__main__":
|
638
|
+
cli()
|