Repository navigation
v0.2.0 - Add assign command
What's New
assign command
Added the shirushi assign command to automatically generate and embed unique doc_ids into documents without one.
Features
- Supports all dimension types (enum, enum_from_doc_type, year, serial, checksum)
- Transaction-based writes with automatic rollback on failure
- File-based locking to prevent concurrent execution
--dry-runoption to preview changes without modifying files--format jsonoption for machine-readable output
Usage
# Preview (no changes)
shirushi assign --dry-run
# Execute
shirushi assign
# JSON output
shirushi assign --format jsonBug Fixes
- Fixed Windows path compatibility for index file entries
Full Changelog: v0.1.0...v0.2.0