Expand description
Export/Import functionality for requirements.
This module provides:
- Mapping file generation (UUID to SPEC-ID)
- JSON export of full store
- Requirements specification export (markdown)
- Implementation records export (markdown)
- Tree export/import for portability between databases
Structs§
- Exported
Requirement - An exported requirement with its children embedded
- Exported
Tree - A complete exported requirement tree
- External
RelRef - Reference to a relationship target outside the exported tree
- Mapping
File - Tree
Import Options - Options for importing a tree
- Tree
Import Result - Result of an import operation
Enums§
- Conflict
Strategy - Strategy for handling conflicts during import
Constants§
- TREE_
EXPORT_ VERSION - Version of the tree export format
Functions§
- export_
implementation_ records - Export implementation records (IMPL tasks only)
- export_
json - Export requirements to JSON format
- export_
requirements_ spec - Export requirements specification (excludes IMPL tasks and implementation details)
- export_
tree - Export a requirement and all its descendants to an ExportedTree
- export_
tree_ to_ file - Export a tree to a JSON file
- generate_
mapping_ file - Generate mapping file (UUID -> SPEC-ID)
- import_
tree - Import a tree into a store, returning the result
- import_
tree_ from_ file - Import a tree from a JSON file