trustgraph/tests/unit/test_cli
Sunny Yang 76c4763b9b
feat: add tg-export-workspace / tg-import-workspace bundle commands (#877) (#1019)
Phase 1 (config only): export a workspace's full configuration as a
portable .tgx bundle (gzipped tar with manifest.json and one
pretty-printed, self-describing JSON file per config key under
config/<type>/), and import it into another deployment or workspace.

Import defaults to WorkspaceInit's re-run semantics (existing keys kept,
missing keys added; --overwrite replaces), supports --workspace rename,
--dry-run, and --config-only, and refuses to silently drop knowledge
data from future Phase-2 bundles it cannot import yet.
2026-07-03 15:16:39 +01:00
..
__init__.py Knowledge load utility CLI (#456) 2025-08-13 16:07:58 +01:00
conftest.py Knowledge load utility CLI (#456) 2025-08-13 16:07:58 +01:00
test_config_commands.py feat: workspace-based multi-tenancy, replacing user as tenancy axis (#840) 2026-04-21 23:23:01 +01:00
test_error_handling_edge_cases.py Structured data, minor features (#500) 2025-09-05 17:25:12 +01:00
test_load_knowledge.py feat: workspace-based multi-tenancy, replacing user as tenancy axis (#840) 2026-04-21 23:23:01 +01:00
test_load_structured_data.py Structured data, minor features (#500) 2025-09-05 17:25:12 +01:00
test_schema_descriptor_generation.py Structured data, minor features (#500) 2025-09-05 17:25:12 +01:00
test_tool_commands.py feat: workspace-based multi-tenancy, replacing user as tenancy axis (#840) 2026-04-21 23:23:01 +01:00
test_workspace_bundle_commands.py feat: add tg-export-workspace / tg-import-workspace bundle commands (#877) (#1019) 2026-07-03 15:16:39 +01:00
test_xml_xpath_parsing.py Structured data, minor features (#500) 2025-09-05 17:25:12 +01:00